mirror of
https://github.com/boostorg/type_traits.git
synced 2025-07-31 13:07:22 +02:00
Function types need to be screened out of is_pod on Oracle.
This commit is contained in:
@ -277,7 +277,7 @@
|
||||
# include <boost/type_traits/is_volatile.hpp>
|
||||
|
||||
# define BOOST_IS_UNION(T) __oracle_is_union(T)
|
||||
# define BOOST_IS_POD(T) __oracle_is_pod(T)
|
||||
# define BOOST_IS_POD(T) (__oracle_is_pod(T) && !is_function<T>::value)
|
||||
# define BOOST_IS_EMPTY(T) __oracle_is_empty(T)
|
||||
# define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) (__oracle_has_trivial_constructor(T) && ! ::boost::is_volatile<T>::value)
|
||||
# define BOOST_HAS_TRIVIAL_COPY(T) (__oracle_has_trivial_copy(T) && !is_reference<T>::value)
|
||||
|
@ -14,6 +14,10 @@
|
||||
#include <boost/type_traits/is_scalar.hpp>
|
||||
#include <boost/type_traits/intrinsics.hpp>
|
||||
|
||||
#ifdef __SUNPRO_CC
|
||||
#include <boost/type_traits/is_function.hpp>
|
||||
#endif
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#ifndef BOOST_IS_POD
|
||||
|
Reference in New Issue
Block a user