diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:41:18 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:43:11 +0900 |
commit | f763a99a501650eff2c60288aa6f10ef916d769e (patch) | |
tree | 02af7e13f9a38c888ebf340fe764cbe7dae99da9 /boost/type_traits | |
parent | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (diff) | |
download | boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.gz boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.bz2 boost-f763a99a501650eff2c60288aa6f10ef916d769e.zip |
Imported Upstream version 1.62.0upstream/1.62.0
Change-Id: I9d4c1ddb7b7d8f0069217ecc582700f9fda6dd4c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/type_traits')
26 files changed, 28 insertions, 12 deletions
diff --git a/boost/type_traits/extent.hpp b/boost/type_traits/extent.hpp index dfb3c54ee8..124257878b 100644 --- a/boost/type_traits/extent.hpp +++ b/boost/type_traits/extent.hpp @@ -10,6 +10,7 @@ #ifndef BOOST_TT_EXTENT_HPP_INCLUDED #define BOOST_TT_EXTENT_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> #include <boost/detail/workaround.hpp> diff --git a/boost/type_traits/has_nothrow_assign.hpp b/boost/type_traits/has_nothrow_assign.hpp index 65fbeefc39..7517fa804b 100644 --- a/boost/type_traits/has_nothrow_assign.hpp +++ b/boost/type_traits/has_nothrow_assign.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_HAS_NOTHROW_ASSIGN_HPP_INCLUDED #define BOOST_TT_HAS_NOTHROW_ASSIGN_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> #include <boost/type_traits/intrinsics.hpp> diff --git a/boost/type_traits/has_nothrow_constructor.hpp b/boost/type_traits/has_nothrow_constructor.hpp index a71d42e6e4..fa47b1db3c 100644 --- a/boost/type_traits/has_nothrow_constructor.hpp +++ b/boost/type_traits/has_nothrow_constructor.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_HAS_NOTHROW_CONSTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_NOTHROW_CONSTRUCTOR_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/integral_constant.hpp> diff --git a/boost/type_traits/has_nothrow_destructor.hpp b/boost/type_traits/has_nothrow_destructor.hpp index 273eb9f198..ba70e8910e 100644 --- a/boost/type_traits/has_nothrow_destructor.hpp +++ b/boost/type_traits/has_nothrow_destructor.hpp @@ -11,7 +11,7 @@ #include <boost/type_traits/has_trivial_destructor.hpp> -#if !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(__SUNPRO_CC) && !defined(BOOST_MSVC) +#if !defined(BOOST_NO_CXX11_NOEXCEPT) && !defined(__SUNPRO_CC) && !(defined(BOOST_MSVC) && (_MSC_FULL_VER < 190023506)) #include <boost/type_traits/declval.hpp> #include <boost/type_traits/is_destructible.hpp> diff --git a/boost/type_traits/has_trivial_assign.hpp b/boost/type_traits/has_trivial_assign.hpp index a434dae726..15b917e716 100644 --- a/boost/type_traits/has_trivial_assign.hpp +++ b/boost/type_traits/has_trivial_assign.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_ASSIGN_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/detail/config.hpp> #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/integral_constant.hpp> diff --git a/boost/type_traits/has_trivial_copy.hpp b/boost/type_traits/has_trivial_copy.hpp index 9d3265d1dc..fd6ad2d03b 100644 --- a/boost/type_traits/has_trivial_copy.hpp +++ b/boost/type_traits/has_trivial_copy.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_HAS_TRIVIAL_COPY_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_COPY_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/is_pod.hpp> #include <boost/type_traits/is_reference.hpp> diff --git a/boost/type_traits/has_trivial_move_assign.hpp b/boost/type_traits/has_trivial_move_assign.hpp index f7bb1987cb..6d954ab669 100644 --- a/boost/type_traits/has_trivial_move_assign.hpp +++ b/boost/type_traits/has_trivial_move_assign.hpp @@ -11,6 +11,7 @@ #ifndef BOOST_TT_HAS_TRIVIAL_MOVE_ASSIGN_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_MOVE_ASSIGN_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/integral_constant.hpp> diff --git a/boost/type_traits/has_trivial_move_constructor.hpp b/boost/type_traits/has_trivial_move_constructor.hpp index 9e601f38ae..5784f4bbff 100644 --- a/boost/type_traits/has_trivial_move_constructor.hpp +++ b/boost/type_traits/has_trivial_move_constructor.hpp @@ -11,6 +11,7 @@ #ifndef BOOST_TT_HAS_TRIVIAL_MOVE_CONSTRUCTOR_HPP_INCLUDED #define BOOST_TT_HAS_TRIVIAL_MOVE_CONSTRUCTOR_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/integral_constant.hpp> diff --git a/boost/type_traits/is_abstract.hpp b/boost/type_traits/is_abstract.hpp index 7715c5ca37..781d94a479 100644 --- a/boost/type_traits/is_abstract.hpp +++ b/boost/type_traits/is_abstract.hpp @@ -48,6 +48,7 @@ // to degrade gracefully, rather than trash the compiler (John Maddock). // +#include <cstddef> // size_t #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/integral_constant.hpp> #ifndef BOOST_IS_ABSTRACT diff --git a/boost/type_traits/is_array.hpp b/boost/type_traits/is_array.hpp index 497dc49327..53e1613ab6 100644 --- a/boost/type_traits/is_array.hpp +++ b/boost/type_traits/is_array.hpp @@ -15,7 +15,7 @@ #define BOOST_TT_IS_ARRAY_HPP_INCLUDED #include <boost/type_traits/integral_constant.hpp> -#include <cstddef> +#include <cstddef> // size_t namespace boost { diff --git a/boost/type_traits/is_assignable.hpp b/boost/type_traits/is_assignable.hpp index 9cf681dd31..49d171616a 100644 --- a/boost/type_traits/is_assignable.hpp +++ b/boost/type_traits/is_assignable.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_IS_ASSIGNABLE_HPP_INCLUDED #define BOOST_TT_IS_ASSIGNABLE_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> #include <boost/detail/workaround.hpp> diff --git a/boost/type_traits/is_const.hpp b/boost/type_traits/is_const.hpp index d9dd2aa326..e0ed88a34b 100644 --- a/boost/type_traits/is_const.hpp +++ b/boost/type_traits/is_const.hpp @@ -21,6 +21,7 @@ #ifndef BOOST_TT_IS_CONST_HPP_INCLUDED #define BOOST_TT_IS_CONST_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> namespace boost { @@ -35,7 +36,7 @@ namespace boost { template <class T> struct is_const : public false_type {}; template <class T> struct is_const<T const> : public true_type{}; - template <class T, size_t N> struct is_const<T const[N]> : public true_type{}; + template <class T, std::size_t N> struct is_const<T const[N]> : public true_type{}; template <class T> struct is_const<T const[]> : public true_type{}; #endif diff --git a/boost/type_traits/is_default_constructible.hpp b/boost/type_traits/is_default_constructible.hpp index 0b7d960e7d..fa5d76a22d 100644 --- a/boost/type_traits/is_default_constructible.hpp +++ b/boost/type_traits/is_default_constructible.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_IS_DEFAULT_CONSTRUCTIBLE_HPP_INCLUDED #define BOOST_TT_IS_DEFAULT_CONSTRUCTIBLE_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> #include <boost/detail/workaround.hpp> diff --git a/boost/type_traits/is_destructible.hpp b/boost/type_traits/is_destructible.hpp index 9f1e5d9817..742d990730 100644 --- a/boost/type_traits/is_destructible.hpp +++ b/boost/type_traits/is_destructible.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_IS_DESTRUCTIBLE_HPP_INCLUDED #define BOOST_TT_IS_DESTRUCTIBLE_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> #include <boost/detail/workaround.hpp> diff --git a/boost/type_traits/is_nothrow_move_constructible.hpp b/boost/type_traits/is_nothrow_move_constructible.hpp index 4c8f734726..0d5d57a0f8 100644 --- a/boost/type_traits/is_nothrow_move_constructible.hpp +++ b/boost/type_traits/is_nothrow_move_constructible.hpp @@ -11,6 +11,7 @@ #ifndef BOOST_TT_IS_NOTHROW_MOVE_CONSTRUCTIBLE_HPP_INCLUDED #define BOOST_TT_IS_NOTHROW_MOVE_CONSTRUCTIBLE_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/config.hpp> #include <boost/type_traits/intrinsics.hpp> #include <boost/type_traits/integral_constant.hpp> diff --git a/boost/type_traits/is_pod.hpp b/boost/type_traits/is_pod.hpp index 9204c93e25..9bd196257a 100644 --- a/boost/type_traits/is_pod.hpp +++ b/boost/type_traits/is_pod.hpp @@ -9,6 +9,7 @@ #ifndef BOOST_TT_IS_POD_HPP_INCLUDED #define BOOST_TT_IS_POD_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/detail/config.hpp> #include <boost/type_traits/is_void.hpp> #include <boost/type_traits/is_scalar.hpp> diff --git a/boost/type_traits/is_virtual_base_of.hpp b/boost/type_traits/is_virtual_base_of.hpp index f0052563e3..84cb355cd0 100644 --- a/boost/type_traits/is_virtual_base_of.hpp +++ b/boost/type_traits/is_virtual_base_of.hpp @@ -17,7 +17,7 @@ namespace detail { #ifdef BOOST_MSVC #pragma warning( push ) -#pragma warning( disable : 4584 4250) +#pragma warning( disable : 4584 4250 4594) #elif defined(__GNUC__) && (__GNUC__ >= 4) #pragma GCC system_header #endif diff --git a/boost/type_traits/is_volatile.hpp b/boost/type_traits/is_volatile.hpp index cefe987308..5b8e716b47 100644 --- a/boost/type_traits/is_volatile.hpp +++ b/boost/type_traits/is_volatile.hpp @@ -21,6 +21,7 @@ #ifndef BOOST_TT_IS_VOLATILE_HPP_INCLUDED #define BOOST_TT_IS_VOLATILE_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> namespace boost { @@ -35,7 +36,7 @@ namespace boost { template <class T> struct is_volatile : public false_type {}; template <class T> struct is_volatile<T volatile> : public true_type{}; - template <class T, size_t N> struct is_volatile<T volatile[N]> : public true_type{}; + template <class T, std::size_t N> struct is_volatile<T volatile[N]> : public true_type{}; template <class T> struct is_volatile<T volatile[]> : public true_type{}; #endif diff --git a/boost/type_traits/rank.hpp b/boost/type_traits/rank.hpp index 3dfc693687..1f820f1a55 100644 --- a/boost/type_traits/rank.hpp +++ b/boost/type_traits/rank.hpp @@ -10,6 +10,7 @@ #ifndef BOOST_TT_RANK_HPP_INCLUDED #define BOOST_TT_RANK_HPP_INCLUDED +#include <cstddef> // size_t #include <boost/type_traits/integral_constant.hpp> namespace boost { diff --git a/boost/type_traits/remove_all_extents.hpp b/boost/type_traits/remove_all_extents.hpp index 3ccdc98281..90c90d3523 100644 --- a/boost/type_traits/remove_all_extents.hpp +++ b/boost/type_traits/remove_all_extents.hpp @@ -10,7 +10,7 @@ #define BOOST_TT_REMOVE_ALL_EXTENTS_HPP_INCLUDED #include <boost/config.hpp> -#include <cstddef> +#include <cstddef> // size_t #include <boost/detail/workaround.hpp> namespace boost { diff --git a/boost/type_traits/remove_const.hpp b/boost/type_traits/remove_const.hpp index b47f851460..e238962c6d 100644 --- a/boost/type_traits/remove_const.hpp +++ b/boost/type_traits/remove_const.hpp @@ -12,7 +12,7 @@ #define BOOST_TT_REMOVE_CONST_HPP_INCLUDED #include <boost/config.hpp> -#include <cstddef> +#include <cstddef> // size_t #include <boost/detail/workaround.hpp> namespace boost { diff --git a/boost/type_traits/remove_cv.hpp b/boost/type_traits/remove_cv.hpp index b50607f2ce..08393cfb81 100644 --- a/boost/type_traits/remove_cv.hpp +++ b/boost/type_traits/remove_cv.hpp @@ -13,7 +13,7 @@ #include <boost/config.hpp> #include <boost/detail/workaround.hpp> -#include <cstddef> +#include <cstddef> // size_t namespace boost { diff --git a/boost/type_traits/remove_extent.hpp b/boost/type_traits/remove_extent.hpp index 0b50a07034..b6528e525b 100644 --- a/boost/type_traits/remove_extent.hpp +++ b/boost/type_traits/remove_extent.hpp @@ -11,7 +11,7 @@ #include <boost/config.hpp> #include <boost/detail/workaround.hpp> -#include <cstddef> +#include <cstddef> // size_t namespace boost { diff --git a/boost/type_traits/remove_pointer.hpp b/boost/type_traits/remove_pointer.hpp index fb79e59d22..921665266f 100644 --- a/boost/type_traits/remove_pointer.hpp +++ b/boost/type_traits/remove_pointer.hpp @@ -18,7 +18,7 @@ namespace boost { -#ifdef BOOST_MSVC +#if BOOST_WORKAROUND(BOOST_MSVC, < 1900) namespace detail{ diff --git a/boost/type_traits/remove_volatile.hpp b/boost/type_traits/remove_volatile.hpp index 475e39d22c..f5870f317f 100644 --- a/boost/type_traits/remove_volatile.hpp +++ b/boost/type_traits/remove_volatile.hpp @@ -13,7 +13,7 @@ #include <boost/config.hpp> #include <boost/detail/workaround.hpp> -#include <cstddef> +#include <cstddef> // size_t namespace boost { diff --git a/boost/type_traits/type_with_alignment.hpp b/boost/type_traits/type_with_alignment.hpp index ffa054a2f1..ddf1d98294 100644 --- a/boost/type_traits/type_with_alignment.hpp +++ b/boost/type_traits/type_with_alignment.hpp @@ -12,7 +12,7 @@ #include <boost/type_traits/is_pod.hpp> #include <boost/static_assert.hpp> #include <boost/config.hpp> -#include <cstddef> +#include <cstddef> // size_t #include <boost/detail/workaround.hpp> #ifdef BOOST_MSVC |