]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/variant2/test/throw_exception.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / variant2 / test / throw_exception.cpp
1
2 // Copyright 2019 Peter Dimov.
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 // http://www.boost.org/LICENSE_1_0.txt
6
7 #include <boost/config.hpp>
8 #include <exception>
9 #include <cstdio>
10
11 namespace boost
12 {
13
14 void throw_exception( std::exception const & e )
15 {
16 std::fprintf( stderr, "Exception: %s\n", e.what() );
17 std::terminate();
18 }
19
20 } // namespace boost