mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-14 12:12:54 +02:00
fix integral_c<bool,...>
[SVN r30173]
This commit is contained in:
@@ -40,7 +40,9 @@ template< bool C >
|
|||||||
struct integral_c<bool, C>
|
struct integral_c<bool, C>
|
||||||
{
|
{
|
||||||
BOOST_STATIC_CONSTANT(bool, value = C);
|
BOOST_STATIC_CONSTANT(bool, value = C);
|
||||||
|
typedef integral_c_tag tag;
|
||||||
typedef integral_c type;
|
typedef integral_c type;
|
||||||
|
typedef bool value_type;
|
||||||
operator bool() const { return this->value; }
|
operator bool() const { return this->value; }
|
||||||
};
|
};
|
||||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
|
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
|
||||||
|
Reference in New Issue
Block a user