12 Aug
2010
12 Aug
'10
5:04 p.m.
2010/8/12 gast128
Hello all,
small question: there seems no xor operator in c++ but there is also no Boost xor functor (like the std::logical_and)?
Scenario: I have 2 data members used in variant like way: only 1 may be valid. Both valid or both invalid is incorrect.
Can't you use !!A != !!B? (or !!A ^ !!B) -- Murilo Adriano Vasconcelos http://murilo.wordpress.com