Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
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
13
#include <
boost/type_traits/detail/config.hpp
>
14
#include <
boost/type_traits/is_void.hpp
>
15
#include <
boost/type_traits/is_scalar.hpp
>
16
#include <
boost/type_traits/intrinsics.hpp
>
17
18
#ifdef __SUNPRO_CC
19
#include <
boost/type_traits/is_function.hpp
>
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
void
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
is_function.hpp
intrinsics.hpp
is_scalar.hpp
boost::is_POD
Definition:
is_pod.hpp:33
t265_stereo.T
T
Definition:
t265_stereo.py:157
boost::is_pod
Definition:
is_pod.hpp:35
config.hpp
boost::integral_constant
Definition:
integral_constant.hpp:52
is_void.hpp
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:20