@disable this for structs

Remo remo4d at gmail.com
Fri Feb 28 04:52:37 PST 2014


On Friday, 28 February 2014 at 11:59:40 UTC, Dicebot wrote:
> On Friday, 28 February 2014 at 01:16:41 UTC, Mike Parker wrote:
>> Ideally, I'd love for the compiler to pick up on this idiom 
>> and not generate any typeinfo in this situation.
>
> Ideally one should use modules as namespaces :P

Ideally D should have build in namespaces.

Using class to mimic namespace, but then all the functions are 
virtual per default ?


More information about the Digitalmars-d-learn mailing list