Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2003-08-20 18:32:56

Paul Mensonides wrote:
>>#define xor )?BOOST_DETAIL_XOR(
> FYI, you cannot legally define "xor" because it is specifically *not* an
> identifier--even to the preprocessor. This is the primary difference
> between "keywords" and textual "alternative tokens."

I admit that I forgot that 'xor' is an alternative token (which should
better be called bitxor, but anyway).

But according to the Boost guidelines, my macro has to be called
BOOST_XOR anyway ("boostification"). Or how about alternatives like
'eor', 'lxor', 'logicxor', you-name-it...?

Regards, Daniel

Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web:

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