Warning, file /include/boost/type_traits/is_noncopyable.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #ifndef BOOST_TYPE_TRAITS_IS_NONCOPYABLE_HPP_INCLUDED
0002 #define BOOST_TYPE_TRAITS_IS_NONCOPYABLE_HPP_INCLUDED
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include <boost/type_traits/is_base_and_derived.hpp>
0015
0016 namespace boost
0017 {
0018
0019 #ifndef BOOST_NONCOPYABLE_BASE_TOKEN_DEFINED
0020 #define BOOST_NONCOPYABLE_BASE_TOKEN_DEFINED
0021
0022
0023
0024
0025
0026 namespace noncopyable_
0027 {
0028 struct base_token {};
0029 }
0030
0031 #endif
0032
0033 template<class T> struct is_noncopyable: is_base_and_derived<noncopyable_::base_token, T>
0034 {
0035 };
0036
0037 }
0038
0039 #endif