Tweaks to try to defeat g++4.6.3

This commit is contained in:
Emil Dotchevski
2017-01-03 14:35:11 -08:00
parent 406d3c87f7
commit 972667f52e
3 changed files with 29 additions and 61 deletions

View File

@ -38,45 +38,6 @@ boost
return '[' + error_info_name(x) + "] = " + to_string_stub(x.value()) + '\n';
}
template <class Tag,class T>
inline
error_info<Tag,T>::
error_info( value_type const & v ):
v_(v)
{
}
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
template <class Tag,class T>
inline
error_info<Tag,T>::
error_info( error_info const & x ):
v_(x.v_)
{
}
template <class Tag,class T>
inline
error_info<Tag,T>::
error_info( value_type && v ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(v)))):
v_(std::move(v))
{
}
template <class Tag,class T>
inline
error_info<Tag,T>::
error_info( error_info && x ) BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(value_type(std::move(x.v_)))):
v_(std::move(x.v_))
{
}
#endif
template <class Tag,class T>
inline
error_info<Tag,T>::
~error_info() throw()
{
}
template <class Tag,class T>
inline
std::string