forked from boostorg/exception
Maybe fixing 11874
This commit is contained in:
@ -47,24 +47,24 @@ boost
|
|||||||
|
|
||||||
typedef T value_type;
|
typedef T value_type;
|
||||||
|
|
||||||
error_info( value_type const & value );
|
error_info( value_type const & v );
|
||||||
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
|
||||||
error_info( error_info const & );
|
error_info( error_info const & );
|
||||||
error_info( value_type && value ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(value))));
|
error_info( value_type && v ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(v))));
|
||||||
error_info( error_info && x ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(x.value_))));
|
error_info( error_info && x ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(x.v_))));
|
||||||
#endif
|
#endif
|
||||||
~error_info() throw();
|
~error_info() throw();
|
||||||
|
|
||||||
value_type const &
|
value_type const &
|
||||||
value() const
|
value() const
|
||||||
{
|
{
|
||||||
return value_;
|
return v_;
|
||||||
}
|
}
|
||||||
|
|
||||||
value_type &
|
value_type &
|
||||||
value()
|
value()
|
||||||
{
|
{
|
||||||
return value_;
|
return v_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@ -75,7 +75,7 @@ boost
|
|||||||
|
|
||||||
std::string name_value_string() const;
|
std::string name_value_string() const;
|
||||||
|
|
||||||
value_type value_;
|
value_type v_;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ boost
|
|||||||
template <class Tag,class T>
|
template <class Tag,class T>
|
||||||
inline
|
inline
|
||||||
error_info<Tag,T>::
|
error_info<Tag,T>::
|
||||||
error_info( value_type const & value ):
|
error_info( value_type const & v ):
|
||||||
value_(value)
|
v_(v)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,21 +51,21 @@ boost
|
|||||||
inline
|
inline
|
||||||
error_info<Tag,T>::
|
error_info<Tag,T>::
|
||||||
error_info( error_info const & x ):
|
error_info( error_info const & x ):
|
||||||
value_(x.value_)
|
v_(x.v_)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
template <class Tag,class T>
|
template <class Tag,class T>
|
||||||
inline
|
inline
|
||||||
error_info<Tag,T>::
|
error_info<Tag,T>::
|
||||||
error_info( value_type && value ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(value)))):
|
error_info( value_type && v ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(v)))):
|
||||||
value_(std::move(value))
|
v_(std::move(v))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
template <class Tag,class T>
|
template <class Tag,class T>
|
||||||
inline
|
inline
|
||||||
error_info<Tag,T>::
|
error_info<Tag,T>::
|
||||||
error_info( error_info && x ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(x.value_)))):
|
error_info( error_info && x ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(x.v_)))):
|
||||||
value_(std::move(x.value_))
|
v_(std::move(x.v_))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user