Merge pull request #6 from MarcelRaad/patch-1

Qualify enable_if with namespace boost
This commit is contained in:
Marshall Clow
2015-04-03 06:54:46 -07:00

View File

@ -717,7 +717,7 @@ namespace boost {
template<typename Functor> template<typename Functor>
BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f
#ifndef BOOST_NO_SFINAE #ifndef BOOST_NO_SFINAE
,typename enable_if< ,typename boost::enable_if<
typename boost::mpl::not_< typename boost::mpl::not_<
is_integral<Functor> >::type, is_integral<Functor> >::type,
int>::type = 0 int>::type = 0
@ -730,7 +730,7 @@ namespace boost {
template<typename Functor,typename Allocator> template<typename Functor,typename Allocator>
BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f, Allocator a BOOST_FUNCTION_FUNCTION(Functor BOOST_FUNCTION_TARGET_FIX(const &) f, Allocator a
#ifndef BOOST_NO_SFINAE #ifndef BOOST_NO_SFINAE
,typename enable_if< ,typename boost::enable_if<
typename boost::mpl::not_< typename boost::mpl::not_<
is_integral<Functor> >::type, is_integral<Functor> >::type,
int>::type = 0 int>::type = 0
@ -780,7 +780,7 @@ namespace boost {
// construct. // construct.
template<typename Functor> template<typename Functor>
#ifndef BOOST_NO_SFINAE #ifndef BOOST_NO_SFINAE
typename enable_if< typename boost::enable_if<
typename boost::mpl::not_< typename boost::mpl::not_<
is_integral<Functor> >::type, is_integral<Functor> >::type,
BOOST_FUNCTION_FUNCTION&>::type BOOST_FUNCTION_FUNCTION&>::type
@ -1068,7 +1068,7 @@ public:
template<typename Functor> template<typename Functor>
function(Functor f function(Functor f
#ifndef BOOST_NO_SFINAE #ifndef BOOST_NO_SFINAE
,typename enable_if< ,typename boost::enable_if<
typename boost::mpl::not_< typename boost::mpl::not_<
is_integral<Functor> >::type, is_integral<Functor> >::type,
int>::type = 0 int>::type = 0
@ -1080,7 +1080,7 @@ public:
template<typename Functor,typename Allocator> template<typename Functor,typename Allocator>
function(Functor f, Allocator a function(Functor f, Allocator a
#ifndef BOOST_NO_SFINAE #ifndef BOOST_NO_SFINAE
,typename enable_if< ,typename boost::enable_if<
typename boost::mpl::not_< typename boost::mpl::not_<
is_integral<Functor> >::type, is_integral<Functor> >::type,
int>::type = 0 int>::type = 0
@ -1120,7 +1120,7 @@ public:
template<typename Functor> template<typename Functor>
#ifndef BOOST_NO_SFINAE #ifndef BOOST_NO_SFINAE
typename enable_if< typename boost::enable_if<
typename boost::mpl::not_< typename boost::mpl::not_<
is_integral<Functor> >::type, is_integral<Functor> >::type,
self_type&>::type self_type&>::type