Re: [boost] It's a digraph. (was: Re: Interest in an ODBC library?)
by Jonathan Wakely other posts by this author
Aug 19 2005 6:30AM messages near this date
[boost] It's a digraph. (was: Re: Interest in an ODBC library?)
|
Re: [boost] Interest in an ODBC library?
SOURCE Daryle Walker wrote:
> On 8/18/05 4:57 AM, "Jonathan Wakely" <cow@[...].uk> 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.
jon
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Brian Braatz
Brock Peabody
Caleb Epstein
Brock Peabody
Caleb Epstein
Brock Peabody
Jonathan Wakely
Daryle Walker
Jonathan Wakely
Brock Peabody
Jonathan Wakely
Jonathan Wakely
Brock Peabody
Caleb Epstein
Caleb Epstein
Brock Peabody
Jonathan Wakely
Brock Peabody
|