[SVN r25411]
This commit is contained in:
Aleksey Gurtovoy
2004-09-26 09:54:25 +00:00
parent f133ea0b9f
commit 2c49d8d21b

View File

@@ -15,6 +15,7 @@
// $Revision$
#include <boost/mpl/bool_fwd.hpp>
#include <boost/mpl/integral_c_tag.hpp>
#include <boost/mpl/aux_/config/static_constant.hpp>
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
@@ -22,6 +23,7 @@ BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
template< bool C_ > struct bool_
{
BOOST_STATIC_CONSTANT(bool, value = C_);
typedef integral_c_tag tag;
typedef bool_ type;
typedef bool value_type;
operator bool() const { return this->value; }