forked from boostorg/exception
removed tabs. what's wrong with tabs anyway?
[SVN r44246]
This commit is contained in:
@ -23,7 +23,7 @@ n2
|
||||
{
|
||||
};
|
||||
|
||||
std::string
|
||||
std::string
|
||||
to_string( c2 const & )
|
||||
{
|
||||
return "c2";
|
||||
@ -38,8 +38,8 @@ n3
|
||||
{
|
||||
};
|
||||
|
||||
std::ostream &
|
||||
operator<<( std::ostream & s, c3 const & )
|
||||
std::ostream &
|
||||
operator<<( std::ostream & s, c3 const & )
|
||||
{
|
||||
return s << "c3";
|
||||
}
|
||||
@ -48,10 +48,10 @@ n3
|
||||
int
|
||||
main()
|
||||
{
|
||||
using namespace boost;
|
||||
BOOST_TEST( !has_to_string<n1::c1>::value );
|
||||
BOOST_TEST( has_to_string<n2::c2>::value );
|
||||
BOOST_TEST( has_to_string<n3::c3>::value );
|
||||
BOOST_TEST( has_to_string<int>::value );
|
||||
using namespace boost;
|
||||
BOOST_TEST( !has_to_string<n1::c1>::value );
|
||||
BOOST_TEST( has_to_string<n2::c2>::value );
|
||||
BOOST_TEST( has_to_string<n3::c3>::value );
|
||||
BOOST_TEST( has_to_string<int>::value );
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -34,8 +34,8 @@ n2
|
||||
int
|
||||
main()
|
||||
{
|
||||
BOOST_TEST( !boost::is_output_streamable<n1::c1>::value );
|
||||
BOOST_TEST( boost::is_output_streamable<n2::c2>::value );
|
||||
BOOST_TEST( boost::is_output_streamable<int>::value );
|
||||
BOOST_TEST( !boost::is_output_streamable<n1::c1>::value );
|
||||
BOOST_TEST( boost::is_output_streamable<n2::c2>::value );
|
||||
BOOST_TEST( boost::is_output_streamable<int>::value );
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ n1
|
||||
int
|
||||
tester()
|
||||
{
|
||||
using namespace boost;
|
||||
(void) to_string(n1::c1());
|
||||
return 1;
|
||||
using namespace boost;
|
||||
(void) to_string(n1::c1());
|
||||
return 1;
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ n2
|
||||
{
|
||||
};
|
||||
|
||||
std::string
|
||||
std::string
|
||||
to_string( c2 const & )
|
||||
{
|
||||
return "c2";
|
||||
@ -38,8 +38,8 @@ n3
|
||||
{
|
||||
};
|
||||
|
||||
std::ostream &
|
||||
operator<<( std::ostream & s, c3 const & )
|
||||
std::ostream &
|
||||
operator<<( std::ostream & s, c3 const & )
|
||||
{
|
||||
return s << "c3";
|
||||
}
|
||||
@ -48,9 +48,9 @@ n3
|
||||
int
|
||||
main()
|
||||
{
|
||||
using namespace boost;
|
||||
BOOST_TEST( "c2"==to_string(n2::c2()) );
|
||||
BOOST_TEST( "c3"==to_string(n3::c3()) );
|
||||
BOOST_TEST( "42"==to_string(42) );
|
||||
using namespace boost;
|
||||
BOOST_TEST( "c2"==to_string(n2::c2()) );
|
||||
BOOST_TEST( "c3"==to_string(n3::c3()) );
|
||||
BOOST_TEST( "42"==to_string(42) );
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
Reference in New Issue
Block a user