]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/throw_exception/test/lib2_throw.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / throw_exception / test / lib2_throw.hpp
1 #ifndef LIB2_THROW_HPP_INCLUDED
2 #define LIB2_THROW_HPP_INCLUDED
3
4 // Copyright 2018 Peter Dimov
5 //
6 // Distributed under the Boost Software License, Version 1.0.
7 //
8 // See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt
10
11 #include <boost/config.hpp>
12 #include <exception>
13
14 #if defined(LIB2_DYN_LINK)
15 # if defined(LIB2_SOURCE)
16 # define LIB2_DECL BOOST_SYMBOL_EXPORT
17 # else
18 # define LIB2_DECL BOOST_SYMBOL_IMPORT
19 # endif
20 #else
21 # define LIB2_DECL
22 #endif
23
24 namespace lib2
25 {
26
27 struct BOOST_SYMBOL_VISIBLE exception: public std::exception
28 {
29 };
30
31 LIB2_DECL void f();
32
33 } // namespace lib2
34
35 #endif // #ifndef LIB2_THROW_HPP_INCLUDED