is_pod.hpp
Go to the documentation of this file.
1 
2 // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
6 //
7 // See http://www.boost.org/libs/type_traits for most recent version including documentation.
8 
9 #ifndef BOOST_TT_IS_POD_HPP_INCLUDED
10 #define BOOST_TT_IS_POD_HPP_INCLUDED
11 
12 #include <cstddef> // size_t
17 
18 #ifdef __SUNPRO_CC
20 #endif
21 
22 #include <cstddef>
23 
24 #ifndef BOOST_IS_POD
25 #define BOOST_INTERNAL_IS_POD(T) false
26 #else
27 #define BOOST_INTERNAL_IS_POD(T) BOOST_IS_POD(T)
28 #endif
29 
30 namespace boost {
31 
32 // forward declaration, needed by 'is_pod_array_helper' template below
33 template< typename T > struct is_POD;
34 
35 template <typename T> struct is_pod
36 : public integral_constant<bool, ::boost::is_scalar<T>::value || ::boost::is_void<T>::value || BOOST_INTERNAL_IS_POD(T)>
37 {};
38 
39 #if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
40 template <typename T, std::size_t sz> struct is_pod<T[sz]> : public is_pod<T>{};
41 #endif
42 
43 
44 // the following help compilers without partial specialization support:
45 template<> struct is_pod<void> : public true_type{};
46 
47 #ifndef BOOST_NO_CV_VOID_SPECIALIZATIONS
48 template<> struct is_pod<void const> : public true_type{};
49 template<> struct is_pod<void const volatile> : public true_type{};
50 template<> struct is_pod<void volatile> : public true_type{};
51 #endif
52 
53 template<class T> struct is_POD : public is_pod<T>{};
54 
55 } // namespace boost
56 
57 #undef BOOST_INTERNAL_IS_POD
58 
59 #endif // BOOST_TT_IS_POD_HPP_INCLUDED
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:20