fix integral_c<bool,...>

[SVN r30173]
This commit is contained in:
Aleksey Gurtovoy
2005-07-19 04:03:12 +00:00
parent d3b64a34d7
commit 5005ea67dd

View File

@@ -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