mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 12:57:14 +02:00
Add BOOST_Add BOOST_MOVE_FORCEINLINE to bool_
This commit is contained in:
@@ -57,8 +57,8 @@ struct apply
|
||||
template< bool C_ >
|
||||
struct bool_ : integral_constant<bool, C_>
|
||||
{
|
||||
operator bool() const { return C_; }
|
||||
bool operator()() const { return C_; }
|
||||
BOOST_MOVE_FORCEINLINE operator bool() const { return C_; }
|
||||
BOOST_MOVE_FORCEINLINE bool operator()() const { return C_; }
|
||||
};
|
||||
|
||||
typedef bool_<true> true_;
|
||||
@@ -225,7 +225,7 @@ struct identity
|
||||
{
|
||||
typedef T type;
|
||||
typedef typename add_const_lvalue_reference<T>::type reference;
|
||||
reference operator()(reference t)
|
||||
BOOST_MOVE_FORCEINLINE reference operator()(reference t)
|
||||
{ return t; }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user