summaryrefslogtreecommitdiff
blob: 4a498794760e12224dabd7d89c1e10354632e784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
MPL is broken with GCC 4.5.

https://bugs.gentoo.org/317969
https://svn.boost.org/trac/boost/ticket/4061
https://svn.boost.org/trac/boost/changeset/61467

--- a/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
+++ b/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
@@ -83,7 +81,7 @@ template< typename F, int N >
 struct template_arity_impl
 {
     BOOST_STATIC_CONSTANT(int, value =
-          sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
+          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
         );
 };
 
--- a/boost/mpl/aux_/template_arity.hpp
+++ b/boost/mpl/aux_/template_arity.hpp
@@ -98,7 +98,7 @@ template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) >
 struct template_arity_impl
 {
     BOOST_STATIC_CONSTANT(int, value = 
-          sizeof(arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
+          sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1
         );
 };