cc2dc1dfa0
Copy from devel:libraries:c_c++/boost based on submit request 44509 from user coolo OBS-URL: https://build.opensuse.org/request/show/44509 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=46
32 lines
1.5 KiB
Diff
32 lines
1.5 KiB
Diff
Providing explicit specialization prevents implicit instantiations, so
|
|
argument-dependent lookup just doesn't consider another scope.
|
|
See also
|
|
http://lists.boost.org/Archives/boost/2010/04/165303.php
|
|
https://svn.boost.org/trac/boost/ticket/4061
|
|
https://svn.boost.org/trac/boost/changeset/61467
|
|
|
|
diff -Nurp boost_1_42_0.old//boost/mpl/aux_/preprocessed/gcc/template_arity.hpp boost_1_42_0/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp
|
|
--- boost/mpl/aux_/preprocessed/gcc/template_arity.hpp 2010-04-01 21:57:59.000000000 +0200
|
|
+++ boost/mpl/aux_/preprocessed/gcc/template_arity.hpp 2010-04-01 21:59:13.000000000 +0200
|
|
@@ -83,7 +83,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
|
|
);
|
|
};
|
|
|
|
diff -Nurp boost_1_42_0.old//boost/mpl/aux_/template_arity.hpp boost_1_42_0/boost/mpl/aux_/template_arity.hpp
|
|
--- boost/mpl/aux_/template_arity.hpp 2010-04-01 21:57:59.000000000 +0200
|
|
+++ boost/mpl/aux_/template_arity.hpp 2010-04-01 21:58:54.000000000 +0200
|
|
@@ -98,7 +98,7 @@ template< typename F, BOOST_MPL_AUX_NTTP
|
|
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
|
|
);
|
|
};
|
|
|