[Issue 14073] Allow token strings to use other types of brackets as delimiters
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 28 14:29:17 PST 2015
https://issues.dlang.org/show_bug.cgi?id=14073
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc ---
(In reply to monkeyworks12 from comment #0)
> auto t1 = crange!q{ 'a'..'z', 'A'..'Z', '0'..'9' };
> auto t1 = crange!q['a'..'z', 'A'..'Z', '0'..'9'];
They look about the same to me. I don't see the need for this syntax extension.
If we want to introduce new syntax it has to introduce a bigger gain (like the
proposed [1,2]s syntax for fixed-size arrays).
--
More information about the Digitalmars-d-bugs
mailing list