|
Boost : |
From: Jaakko Jarvi (jajarvi_at_[hidden])
Date: 2003-09-05 14:06:20
Hi,
We're writing enable_if docs and have a question about MPL. The docs
do not seem to mention metafunctions like not_ or and_; we can find
logical_not, logical_and, etc. which seem to be applying to functions,
not values.
So assuming we have:
class A { static const bool value = true; };
What is the right way to get the inverse of A::value as an MPL wrapped
boolean?
Is it boost::mpl::not_<A> or something else?
Thanks,
Jaakko & Jeremiah
PS. The reference manual was a bit hard to find, as the link was not
in the table of contents of the main MPL documentation page.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk