Ticket #12553, plus tabs converted to spaces.

This commit is contained in:
Emil Dotchevski
2016-10-26 11:51:40 -07:00
parent 27598f92db
commit e1378f7aef
7 changed files with 108 additions and 108 deletions

View File

@ -37,7 +37,7 @@ main()
throw my_exception();
}
catch(
boost::exception & e )
boost::exception & e )
{
e.set<tag1>(42);
e.set<tag2>("42");

View File

@ -7,7 +7,7 @@
template <class E,class I>
E const &
add_info( E const & e, I const & i )
{
return e << i;
}
{
return e << i;
}
#include "error_info_test.hpp"

View File

@ -7,7 +7,7 @@
template <class E,class I>
E const &
add_info( E const & e, I i )
{
return e << i;
}
{
return e << i;
}
#include "error_info_test.hpp"

View File

@ -8,21 +8,21 @@
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
int
main()
{
return 0;
}
{
return 0;
}
#else
template <class I>
I const
rv_const( I i )
{
return i;
}
{
return i;
}
template <class E,class I>
E const &
add_info( E const & e, I i )
{
return e << rv_const(i);
}
{
return e << rv_const(i);
}
#include "error_info_test.hpp"
#endif

View File

@ -8,15 +8,15 @@
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
int
main()
{
return 0;
}
{
return 0;
}
#else
template <class E,class I>
E const &
add_info( E const & e, I i )
{
return e << std::move(i);
}
{
return e << std::move(i);
}
#include "error_info_test.hpp"
#endif