A pattern I'd like to see more of - Parsing template parameter tuples

Dmitry Olshansky dmitry.olsh at gmail.com
Mon May 21 05:51:22 UTC 2018


On Monday, 21 May 2018 at 01:53:20 UTC, Manu wrote:
> I don't really like that SomeObject() will be instantiated a 
> crap load of times for every possible combination and order of 
> options that a user might want to supply. How do you control 
> the bloat in a way that people won't mess up frequently?

Just sort types by .stringof in a thin forwarding template, we 
have sort in std.meta now.

>
> On 20 May 2018 at 17:58, Neia Neutuladh via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>> [...]



More information about the Digitalmars-d mailing list