The state of string interpolation

o o at o.o
Fri Dec 7 01:16:52 UTC 2018


On Thursday, 6 December 2018 at 23:02:43 UTC, Adam D. Ruppe wrote:
> On Thursday, 6 December 2018 at 22:54:54 UTC, o wrote:
>> import std.typecons: tuple;
>
> That's a library tuple, which is just syntax salt over a struct.
>
> When we say tuple here, we are actually referring to a compiler 
> tuple, which is more like AliasSeq from std.meta - a magic type 
> that represents an argument list.

Thanks for the clarification. I know realize the real potential 
of using tuples here instead of toString-ing :-).

+1 for lowering to tuples.


More information about the Digitalmars-d mailing list