Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:41:05

0001 
0002 // Copyright Aleksey Gurtovoy 2001-2004
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. 
0005 // (See accompanying file LICENSE_1_0.txt or copy at 
0006 // http://www.boost.org/LICENSE_1_0.txt)
0007 //
0008 
0009 // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header
0010 // -- DO NOT modify by hand!
0011 
0012 namespace boost { namespace mpl { namespace aux {
0013 
0014 template< bool >
0015 struct template_arity_impl
0016 {
0017     template< typename F > struct result_
0018         : mpl::int_< -1 >
0019     {
0020     };
0021 };
0022 
0023 template<>
0024 struct template_arity_impl<true>
0025 {
0026     template< typename F > struct result_
0027         : F::arity
0028     {
0029     };
0030 };
0031 
0032 template< typename F >
0033 struct template_arity
0034     : template_arity_impl< ::boost::mpl::aux::has_rebind<F>::value >
0035         ::template result_<F>
0036 {
0037 };
0038 
0039 }}}
0040