]> git.lyx.org Git - features.git/blob - boost/boost/exception/detail/cloning_base.hpp
86dc4007ec19b19c63832ece876ee4532f8fd8f0
[features.git] / boost / boost / exception / detail / cloning_base.hpp
1 //Copyright (c) 2006-2008 Emil Dotchevski and Reverge Studios, Inc.
2
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)
5
6 #ifndef UUID_F7D5662CCB0F11DCA353CAC656D89593
7 #define UUID_F7D5662CCB0F11DCA353CAC656D89593
8
9 #include <boost/detail/workaround.hpp>
10
11 namespace
12 boost
13     {
14     namespace
15     exception_detail
16         {
17         class clone_base;
18
19         class
20         cloning_base
21             {
22             public:
23
24             virtual clone_base const * clone() const = 0;
25
26             protected:
27
28 #if BOOST_WORKAROUND( __GNUC__, BOOST_TESTED_AT(4) )
29 virtual //Disable bogus GCC warning.
30 #endif
31             ~cloning_base() throw()
32                 {
33                 }
34             };
35         }
36     }
37
38 #endif