www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - User-Defined Literals in the D Programming Language

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
http://drdobbs.com/blogs/tools/229401068

Could someone post this to reddit? Thanks.


Andrei
Apr 06 2011
next sibling parent Adam D. Ruppe <destructionator gmail.com> writes:
 Could someone post this to reddit? Thanks.
Looks like someone already did: http://www.reddit.com/r/programming/comments/gk5ou/userdefined_literals_in_the_d_programming_language/
Apr 06 2011
prev sibling parent Trass3r <un known.com> writes:
 http://drdobbs.com/blogs/tools/229401068
Nice article, but after reading the title I was actually expecting an article more about real user-defined literals (and its quirks as we recently discussed in http://www.digitalmars.com/d/archives/digitalmars/D/user_defined_literals_132779.html) There even is a proposal to remove it from C++0x: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3250.html Maybe some more reasons for not having real user-defined literals could be given before explaining how to implement something like it in user code.
Apr 06 2011