stringof and mixins when the types aren't available

David Nadlinger code at klickverbot.at
Sun Jun 16 18:15:15 PDT 2013


On Monday, 17 June 2013 at 01:09:25 UTC, Adam D. Ruppe wrote:
> On Monday, 17 June 2013 at 00:36:40 UTC, David Nadlinger wrote:
>> To expand on that a bit: In the case of default parameters, 
>> instead of trying to directly generate a string representation
>
> The thing here is I'm not really generating the string, this 
> comes out of the compiler and I don't think it is available any 
> other way.

It is (since a few releases ago), see 
std.traits.ParameterDefaultValueTuple.

David


More information about the Digitalmars-d mailing list