foo => "bar" key/value literals in D!

Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue May 24 09:00:32 PDT 2016


On 5/23/16 3:00 PM, Adam D. Ruppe wrote:
> Have I gone completely mad?!?!

This is very creative, thanks. Definitely make it part of TWID :o). 
Apparently it can be made to work with non-templates as well, see 
https://dpaste.dzfl.pl/c4b7a8b6978b. Regarding applying a hack/ingenious 
label, I'd cautiously say "looks interesting" and wait for a bit of 
experience to accumulate. -- Andrei



More information about the Digitalmars-d-announce mailing list