On Mar 13, 4:44*pm, Anonimo <n...@no.it> wrote:
> Hello,
>
> I have two classes with one static member in each class. Each static
> member uses/references the other static member during construction, and
> viceversa. Is there a way to remove the mutual dependencies by modifying
> the classes containing the static members?
>
> Can you provide a solution useful for a real case with minimal
> definitions of both the classes and the static members?
There are no real cases where you need such monsters. So ... minimal
solution of real case is to delete both the static members.
|