forked from boostorg/type_traits
Fix bug in __is_pod intrinsic.
[SVN r33757]
This commit is contained in:
1 parent
88b97b0836
commit
1708737f01
1 file changed
+1
-1
@@ -72,7 +72,7 @@
|
||||
|
||||
#if defined(BOOST_MSVC) && defined(_MSC_FULL_VER) && (_MSC_FULL_VER >=140050215)
|
||||
# define BOOST_IS_UNION(T) __is_union(T)
|
||||
# define BOOST_IS_POD(T) __is_pod(T)
|
||||
# define BOOST_IS_POD(T) (__is_pod(T) && __has_trivial_constructor(T))
|
||||
# define BOOST_IS_EMPTY(T) __is_empty(T)
|
||||
# define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)
|
||||
# define BOOST_HAS_TRIVIAL_COPY(T) __has_trivial_copy(T)
|
||||
|
||||
Reference in new issue
Block a user