Named multi-imports

Olivier FAURE via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 18 08:03:37 PDT 2017


On Friday, 18 August 2017 at 09:18:42 UTC, Timon Gehr wrote:
>> Any downsides?
>> 
> ...
>
> - It introduces a new type that would not really be necessary. 
> This is avoidable, at the cost of a little more verbosity:
>

D newbie here: is there a non-negligible cost to creating a 
stateless struct type?

Also, since the struct is private and only used for its aliases, 
if there a chance the compiler might elide those costs?


More information about the Digitalmars-d mailing list