Boost logo

Boost :

From: Jonathan Wakely (cow_at_[hidden])
Date: 2005-08-19 08:11:38

Daryle Walker wrote:

> On 8/18/05 4:57 AM, "Jonathan Wakely" <cow_at_[hidden]> wrote:
> > postgresql/connect.cpp accidentally uses the <:: trigraph in the
> > typedefs at the top of the file. You need a space before the template
> > args to avoid that.
> I think you mean the "<:" digraph. It represents the "[" (opening square
> bracket) character. The official term is "alternative token" (see section
> 2.5 of the standard), because some of the tokens have more than two
> characters. (These include the bitwise and Boolean word operators, i.e.
> "and".) They're considered after the preprocessor (phase 3 of section 2.1),
> and trigraphs are done earlier than that (in phase 1).

Yep, you're absolutely right -- thanks.

I didn't pay a lot of attention to the exact compiler diagnostic, just added
a space and got on with it.


Boost list run by bdawes at, gregod at, cpdaniel at, john at