forked from boostorg/move
Add BOOST_Add BOOST_MOVE_FORCEINLINE to bool_
This commit is contained in:
@@ -57,8 +57,8 @@ struct apply
|
|||||||
template< bool C_ >
|
template< bool C_ >
|
||||||
struct bool_ : integral_constant<bool, C_>
|
struct bool_ : integral_constant<bool, C_>
|
||||||
{
|
{
|
||||||
operator bool() const { return C_; }
|
BOOST_MOVE_FORCEINLINE operator bool() const { return C_; }
|
||||||
bool operator()() const { return C_; }
|
BOOST_MOVE_FORCEINLINE bool operator()() const { return C_; }
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef bool_<true> true_;
|
typedef bool_<true> true_;
|
||||||
@@ -225,7 +225,7 @@ struct identity
|
|||||||
{
|
{
|
||||||
typedef T type;
|
typedef T type;
|
||||||
typedef typename add_const_lvalue_reference<T>::type reference;
|
typedef typename add_const_lvalue_reference<T>::type reference;
|
||||||
reference operator()(reference t)
|
BOOST_MOVE_FORCEINLINE reference operator()(reference t)
|
||||||
{ return t; }
|
{ return t; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user