forked from boostorg/mpl
fix integral constant definition issue
[SVN r18240]
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
// + file: boost/mpl/aux_/intergal_wrapper.hpp
|
||||
// + last modified: 27/jan/03
|
||||
// + last modified: 12/apr/03
|
||||
|
||||
// Copyright (c) 2000-03
|
||||
// Aleksey Gurtovoy
|
||||
@@ -78,6 +78,11 @@ struct AUX_WRAPPER_NAME
|
||||
operator AUX_WRAPPER_VALUE_TYPE() const { return this->value; }
|
||||
};
|
||||
|
||||
#if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)
|
||||
template< AUX_WRAPPER_PARAMS(N) >
|
||||
AUX_WRAPPER_VALUE_TYPE const AUX_WRAPPER_INST(N)::value;
|
||||
#endif
|
||||
|
||||
}} // namespace boost::mpl
|
||||
|
||||
#undef AUX_WRAPPER_NAME
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#define BOOST_MPL_BOOL_HPP_INCLUDED
|
||||
|
||||
// + file: boost/mpl/bool.hpp
|
||||
// + last modified: 08/mar/03
|
||||
// + last modified: 12/apr/03
|
||||
|
||||
// Copyright (c) 2000-03
|
||||
// Aleksey Gurtovoy
|
||||
@@ -31,6 +31,11 @@ template< bool C_ > struct bool_
|
||||
operator bool() const { return this->value; }
|
||||
};
|
||||
|
||||
#if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)
|
||||
template< bool C_ >
|
||||
bool const bool_<C_>::value;
|
||||
#endif
|
||||
|
||||
}} // namespace boost::mpl
|
||||
|
||||
#endif // BOOST_MPL_BOOL_HPP_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user