Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:10:27

0001 
0002 //  (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
0003 //  Use, modification and distribution are subject to the Boost Software License,
0004 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0005 //  http://www.boost.org/LICENSE_1_0.txt).
0006 //
0007 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
0008 
0009 #ifndef BOOST_TT_IS_VOID_HPP_INCLUDED
0010 #define BOOST_TT_IS_VOID_HPP_INCLUDED
0011 
0012 #include <boost/type_traits/integral_constant.hpp>
0013 
0014 namespace boost {
0015 
0016 template <class T>
0017 struct is_void : public false_type {};
0018 
0019 template<> struct is_void<void> : public true_type {};
0020 template<> struct is_void<const void> : public true_type{};
0021 template<> struct is_void<const volatile void> : public true_type{};
0022 template<> struct is_void<volatile void> : public true_type{};
0023 
0024 } // namespace boost
0025 
0026 #endif // BOOST_TT_IS_VOID_HPP_INCLUDED