]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/exception/test/to_string_test.cpp
1 //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
3 //Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include <boost/exception/to_string.hpp>
7 #include <boost/detail/lightweight_test.hpp>
27 to_string( c2
const & )
42 operator<<( std::ostream
& s
, c3
const & )
51 using namespace boost
;
52 BOOST_TEST( "c2"==to_string(n2::c2()) );
53 BOOST_TEST( "c3"==to_string(n3::c3()) );
54 BOOST_TEST( "42"==to_string(42) );
55 return boost::report_errors();