Boost logo

Boost Users :

Subject: [Boost-users] [logic] boost::logical_xor
From: gast128 (gast128_at_[hidden])
Date: 2010-08-12 11:00:09


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net