Scope operator like in C++?

Trass3r un at known.com
Tue Mar 23 07:08:08 PDT 2010


> If you want to provide a "header file" for this, you may do so with a di  
> file (d interface).  [...]
> The drawbacks of doing it this way are 1) you have to maintain two files  
> instead of one, with almost identical contents

You forget the -H switch.
http://www.digitalmars.com/d/2.0/dmd-linux.html#interface_files



More information about the Digitalmars-d mailing list