diff options
author | MyoungJune Park <mj2004.park@samsung.com> | 2017-12-12 00:34:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.ap-northeast-2.compute.internal> | 2017-12-12 00:34:12 +0000 |
commit | 2ab0cbf4ec245d3fa9fe7a84f5b33a68fb7e2634 (patch) | |
tree | 2c5492193391766d93e7b2bdcca24ffdeac5d971 /boost/bind | |
parent | e25981c0660b336901b493d886df877bf38565d9 (diff) | |
parent | 478965830fb46d8657e788cda69eec06532831a4 (diff) | |
download | boost-2ab0cbf4ec245d3fa9fe7a84f5b33a68fb7e2634.tar.gz boost-2ab0cbf4ec245d3fa9fe7a84f5b33a68fb7e2634.tar.bz2 boost-2ab0cbf4ec245d3fa9fe7a84f5b33a68fb7e2634.zip |
Merge changes If2c80731,I845d4c63,Ied0dae31 into tizensubmit/tizen/20180614.070240submit/tizen/20180306.073050
* changes:
Bump to boost 1.65.1
Merge branch 'tizen' of ssh://review.tizen.org:29418/platform/upstream/boost into tizen
Rebase for boot 1.65.1
Diffstat (limited to 'boost/bind')
-rw-r--r-- | boost/bind/arg.hpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/boost/bind/arg.hpp b/boost/bind/arg.hpp index a74b8298be..cb52e6689f 100644 --- a/boost/bind/arg.hpp +++ b/boost/bind/arg.hpp @@ -21,20 +21,27 @@ #include <boost/config.hpp> #include <boost/is_placeholder.hpp> -#include <boost/static_assert.hpp> namespace boost { +template<bool Eq> struct _arg_eq +{ +}; + +template<> struct _arg_eq<true> +{ + typedef void type; +}; + template< int I > struct arg { BOOST_CONSTEXPR arg() { } - template< class T > BOOST_CONSTEXPR arg( T const & /* t */ ) + template< class T > BOOST_CONSTEXPR arg( T const & /* t */, typename _arg_eq< I == is_placeholder<T>::value >::type * = 0 ) { - BOOST_STATIC_ASSERT( I == is_placeholder<T>::value ); } }; |