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

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


On 3/10/10 23:50, Walter Bright wrote:
> Jacob Carlborg wrote:
>> How dangerous would it be with a compiler option that allowed the
>> above and the programmer have to make sure that they don't depend on
>> each other?
>
> The idea is to eliminate implementation-defined behavior as much as
> practical. I don't think it's at all easy for a programmer to look at a
> non-trivial static constructor and determine unequivocably that it does
> not depend on any imports.

The reason I suggested to add a compiler switch is because I usually 
have very simple static constructors.



More information about the Digitalmars-d mailing list