diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:24:46 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-09-13 11:25:39 +0900 |
commit | 4fadd968fa12130524c8380f33fcfe25d4de79e5 (patch) | |
tree | fd26a490cd15388d42fc6652b3c5c13012e7f93e /boost/python/args.hpp | |
parent | b5c87084afaef42b2d058f68091be31988a6a874 (diff) | |
download | boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.gz boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.tar.bz2 boost-4fadd968fa12130524c8380f33fcfe25d4de79e5.zip |
Imported Upstream version 1.65.0upstream/1.65.0
Change-Id: Icf8400b375482cb11bcf77440a6934ba360d6ba4
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/python/args.hpp')
-rw-r--r-- | boost/python/args.hpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/boost/python/args.hpp b/boost/python/args.hpp index 55d1283b5a..27731bd8c9 100644 --- a/boost/python/args.hpp +++ b/boost/python/args.hpp @@ -11,10 +11,7 @@ # include <boost/config.hpp> # include <boost/python/detail/preprocessor.hpp> # include <boost/python/detail/type_list.hpp> - -# include <boost/type_traits/is_reference.hpp> -# include <boost/type_traits/remove_reference.hpp> -# include <boost/type_traits/remove_cv.hpp> +# include <boost/python/detail/type_traits.hpp> # include <boost/preprocessor/enum_params.hpp> # include <boost/preprocessor/repeat.hpp> @@ -116,9 +113,9 @@ namespace detail template <class T> struct is_reference_to_keywords { - BOOST_STATIC_CONSTANT(bool, is_ref = is_reference<T>::value); - typedef typename remove_reference<T>::type deref; - typedef typename remove_cv<deref>::type key_t; + BOOST_STATIC_CONSTANT(bool, is_ref = detail::is_reference<T>::value); + typedef typename detail::remove_reference<T>::type deref; + typedef typename detail::remove_cv<deref>::type key_t; BOOST_STATIC_CONSTANT(bool, is_key = is_keywords<key_t>::value); BOOST_STATIC_CONSTANT(bool, value = (is_ref & is_key)); |