Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:52:35

0001 #ifndef BOOST_SYSTEM_DETAIL_ENABLE_IF_HPP_INCLUDED
0002 #define BOOST_SYSTEM_DETAIL_ENABLE_IF_HPP_INCLUDED
0003 
0004 // Copyright 2020 Peter Dimov
0005 // Distributed under the Boost Software License, Version 1.0
0006 // http://www.boost.org/LICENSE_1_0.txt
0007 
0008 namespace boost
0009 {
0010 
0011 namespace system
0012 {
0013 
0014 namespace detail
0015 {
0016 
0017 template<bool C, class T = void> struct enable_if
0018 {
0019     typedef T type;
0020 };
0021 
0022 template<class T> struct enable_if<false, T>
0023 {
0024 };
0025 
0026 } // namespace detail
0027 
0028 } // namespace system
0029 
0030 } // namespace boost
0031 
0032 #endif // #ifndef BOOST_SYSTEM_DETAIL_ENABLE_IF_HPP_INCLUDED