• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef LIB1_THROW_HPP_INCLUDED
2 #define LIB1_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(LIB1_DYN_LINK)
15 # if defined(LIB1_SOURCE)
16 #  define LIB1_DECL BOOST_SYMBOL_EXPORT
17 # else
18 #  define LIB1_DECL BOOST_SYMBOL_IMPORT
19 # endif
20 #else
21 # define LIB1_DECL
22 #endif
23 
24 namespace lib1
25 {
26 
27 struct BOOST_SYMBOL_VISIBLE exception: public std::exception
28 {
29 };
30 
31 LIB1_DECL void f();
32 
33 } // namespace lib1
34 
35 #endif // #ifndef LIB1_THROW_HPP_INCLUDED
36