How to create instance of class that get data from 2 another instance?

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 2 00:24:42 PST 2015


>> What I am doing wrong?
>>
>> http://www.everfall.com/paste/id.php?iwh4qdcqv6zi
>
> Well, there's no `parseconfig` there. Do you expect the 
> `parseconfig` from line 30 or line 193 to be available in line 
> 170?

 From line 30.

In line 193 I am get in instance of class instance of parseconfig 
to be able to use config inside MySQL class.

What I should to do in situation where for creation of class I 
should pass to constructor data instances from 2 different 
classes?


More information about the Digitalmars-d-learn mailing list