'<' and '>' are "matching delimiters"?

Jonathan M Davis jmdavisProg at gmx.com
Fri Jun 29 22:32:02 PDT 2012


On Saturday, June 30, 2012 07:05:04 Mehrdad wrote:
> They are, according to the "Nesting Delimiters" table in:
> http://dlang.org/lex.html
> 
> 
> When exactly are they seen as nesting delimiters?

When they're used in delimited strings. That's the whole point of that 
section. The examples are

q"(foo(xxx))"   // "foo(xxx)"
q"[foo{]"       // "foo{"

but they could have included something like

q"<foo{>"       // "foo{"

- Jonathan M Davis


More information about the Digitalmars-d mailing list