Boost logo

Boost :

Subject: Re: [boost] [aligned storage] namespace conflict
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2011-03-22 17:42:16


[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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk