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)
7 #include <boost/throw_exception.hpp>
16 derives_boost_exception::
17 derives_boost_exception( int x
):
22 derives_boost_exception::
23 ~derives_boost_exception() BOOST_NOEXCEPT_OR_NOTHROW
28 derives_boost_exception_virtually::
29 derives_boost_exception_virtually( int x
):
34 derives_boost_exception_virtually::
35 ~derives_boost_exception_virtually() BOOST_NOEXCEPT_OR_NOTHROW
40 derives_std_exception::
41 derives_std_exception( int x
):
46 derives_std_exception::
47 ~derives_std_exception() BOOST_NOEXCEPT_OR_NOTHROW
53 throw_test_exception
<derives_boost_exception
>( int x
)
55 boost::throw_exception( derives_boost_exception(x
) );
60 throw_test_exception
<derives_boost_exception_virtually
>( int x
)
62 boost::throw_exception( derives_boost_exception_virtually(x
) );
67 throw_test_exception
<derives_std_exception
>( int x
)
69 boost::throw_exception( derives_std_exception(x
) );