any tool to at least partially convert C++ to D (htod for source

Jacob Carlborg doob at me.com
Thu Mar 11 03:19:58 PST 2010


On 3/11/10 11:22, Eldar Insafutdinov wrote:
> Walter Bright Wrote:
>
>> Eldar Insafutdinov wrote:
>>> The issue is that we need it in a performance critical part of QtD.
>>> The library mixes in static constructors to initialise user-defined
>>> classes. This means that we can't use it when user code is in cyclic
>>> dependency. static constructors are very useful, but giving a
>>> possibility to override it's current behaviour would make them
>>> applicable to more use-cases(if you look into that bug report,
>>> another person was trying to use them exactly as we do, and faced the
>>> same problems).
>>
>> I hear you. I'll try to come up with a better solution.
>
> Thank you very much.

I really hope a solution can be found.



More information about the Digitalmars-d mailing list