File indexing completed on 2025-01-18 09:53:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_TT_IS_FINAL_HPP_INCLUDED
0012 #define BOOST_TT_IS_FINAL_HPP_INCLUDED
0013
0014 #include <boost/type_traits/intrinsics.hpp>
0015 #include <boost/type_traits/integral_constant.hpp>
0016 #ifdef BOOST_IS_FINAL
0017 #include <boost/type_traits/remove_cv.hpp>
0018 #endif
0019
0020 namespace boost {
0021
0022 #ifdef BOOST_IS_FINAL
0023 template <class T> struct is_final : public integral_constant<bool, BOOST_IS_FINAL(T)> {};
0024 #else
0025 template <class T> struct is_final : public integral_constant<bool, false> {};
0026 #endif
0027
0028 }
0029
0030 #endif