Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:11

0001 
0002 //  Copyright (c) 2014 Agustin Berge
0003 //
0004 //  Use, modification and distribution are subject to the Boost Software License,
0005 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0006 //  http://www.boost.org/LICENSE_1_0.txt).
0007 //
0008 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
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 } // namespace boost
0029 
0030 #endif // BOOST_TT_IS_FINAL_HPP_INCLUDED