@disable this for structs

Tobias Pankrath tobias at pankrath.net
Fri Feb 28 04:56:07 PST 2014


On Friday, 28 February 2014 at 12:52:38 UTC, Remo wrote:
> 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.

Why? C like tag namespaces are awful and do C++ like namespaces 
offer any benefit over modules? Keep in mind that we have no 
Koenig lookup.


More information about the Digitalmars-d-learn mailing list