Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:38

0001 // Copyright David Abrahams 2004. Distributed under the Boost
0002 // Software License, Version 1.0. (See accompanying
0003 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0004 #ifndef ENABLE_IF_DWA2004722_HPP
0005 # define ENABLE_IF_DWA2004722_HPP
0006 
0007 # include <boost/python/detail/sfinae.hpp>
0008 # include <boost/detail/workaround.hpp>
0009 
0010 #if !defined(BOOST_NO_SFINAE)
0011 #  include <boost/utility/enable_if.hpp>
0012 
0013 namespace boost { namespace python { namespace detail { 
0014 
0015 template <class C, class T = int>
0016 struct enable_if_arg
0017   : enable_if<C,T>
0018 {};
0019              
0020 template <class C, class T = int>
0021 struct disable_if_arg
0022   : disable_if<C,T>
0023 {};
0024              
0025 template <class C, class T = void>
0026 struct enable_if_ret
0027   : enable_if<C,T>
0028 {};
0029              
0030 template <class C, class T = void>
0031 struct disable_if_ret
0032   : disable_if<C,T>
0033 {};
0034              
0035 }}} // namespace boost::python::detail
0036 
0037 # endif
0038 
0039 #endif // ENABLE_IF_DWA2004722_HPP