[Issue 8727] __traits(is_reserved_word, "") ?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 10 11:24:02 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8727


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #9 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-01-10 11:23:57 PST ---
(In reply to comment #7)
> I wrote the code, the documentation, and the unit tests. The thing though is
> that I don't really care for this enhancement, and don't feel like pushing for
> it.

This is actually very useful for generic code, it allows one to generate
identifiers while ensuring they don't conflict with keywords.

It's also useful in code generators written in D, which can use this function
to generate C/C++ wrappers code which doesn't conflict with D keywords.

I'd say make it a pull, it's your work after all. :)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list