
22 Mar
2011
22 Mar
'11
9:42 p.m.
[Steven Watanabe]
Trigraph alert: You must add a space between '<' and ':'. Otherwise, it means '['.
Technically, that's known as a digraph. Trigraphs are of the form ??= for # and so forth. See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf 2.4 [lex.trigraph] versus 2.6 [lex.digraph] which has the following amusing footnote:
These include "digraphs" and additional reserved words. The term "digraph" (token consisting of two characters) is not perfectly descriptive, since one of the alternative preprocessing-tokens is %:%: and of course several primary tokens contain two characters. Nonetheless, those alternative tokens that aren't lexical keywords are colloquially known as "digraphs".
STL