Changeset 61467
- Timestamp:
- Apr 21, 2010, 5:19:06 PM (8 years ago)
- Location:
- trunk/boost/mpl/aux_
- Files:
-
- 2 edited
-
preprocessed/gcc/template_arity.hpp (modified) (4 diffs)
-
template_arity.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
r24957 r61467 7 7 // 8 8 9 // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header9 // *Preprocessed* version of the main "template_arity.hpp" header 10 10 // -- DO NOT modify by hand! 11 11 12 12 namespace boost { namespace mpl { namespace aux { 13 14 13 template< int N > struct arity_tag 15 14 { … … 24 23 BOOST_STATIC_CONSTANT(int, value = 25 24 ( C6 > 0 ? C6 : ( C5 > 0 ? C5 : ( C4 > 0 ? C4 : ( C3 > 0 ? C3 : ( C2 > 0 ? C2 : ( C1 > 0 ? C1 : -1 ) ) ) ) ) ) 26 27 25 ); 28 26 }; … … 84 82 { 85 83 BOOST_STATIC_CONSTANT(int, value = 86 sizeof( arity_helper(type_wrapper<F>(), arity_tag<N>())) - 184 sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1 87 85 ); 88 86 }; … … 93 91 BOOST_STATIC_CONSTANT(int, value = ( 94 92 max_arity< template_arity_impl< F,1 >::value, template_arity_impl< F,2 >::value, template_arity_impl< F,3 >::value, template_arity_impl< F,4 >::value, template_arity_impl< F,5 >::value, template_arity_impl< F,6 >::value >::value 95 96 93 )); 97 98 94 typedef mpl::int_<value> type; 99 95 }; -
trunk/boost/mpl/aux_/template_arity.hpp
r49239 r61467 99 99 { 100 100 BOOST_STATIC_CONSTANT(int, value = 101 sizeof( arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1101 sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1 102 102 ); 103 103 };
Note: See TracChangeset
for help on using the changeset viewer.
