
27 May
2011
27 May
'11
8:19 p.m.
[Steven Watanabe]
What about a macro that can be used like BOOST_EXPLICIT_BOOL_OPERATOR() const { return ...; }
Having done this in the STL, I can offer the following warning: you'll need to generate a different fake-bool type for every class, otherwise things will be [in]equality comparable that should not be. STL