Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
move
traits.hpp
Go to the documentation of this file.
1
//
3
// (C) Copyright Ion Gaztanaga 2009-2012.
4
// Distributed under the Boost Software License, Version 1.0.
5
// (See accompanying file LICENSE_1_0.txt or copy at
6
// http://www.boost.org/LICENSE_1_0.txt)
7
//
8
// See http://www.boost.org/libs/move for documentation.
9
//
11
13
14
#ifndef BOOST_MOVE_TRAITS_HPP
15
#define BOOST_MOVE_TRAITS_HPP
16
17
#ifndef BOOST_CONFIG_HPP
18
# include <
boost/config.hpp
>
19
#endif
20
#
21
#if defined(BOOST_HAS_PRAGMA_ONCE)
22
# pragma once
23
#endif
24
25
#include <
boost/move/detail/config_begin.hpp
>
26
27
#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
28
#include <
boost/move/core.hpp
>
29
#endif
30
#include <
boost/move/detail/meta_utils.hpp
>
31
#include <
boost/move/detail/type_traits.hpp
>
32
33
namespace
boost
{
34
44
template
<
class
T>
45
struct
has_trivial_destructor_after_move
46
:
::boost::move_detail::is_trivially_destructible
<T>
47
{};
48
53
template
<
class
T>
54
struct
has_nothrow_move
55
{
56
static
const
bool
value
=
boost::move_detail::is_nothrow_move_constructible<T>::value
&&
57
boost::move_detail::is_nothrow_move_assignable<T>::value
;
58
};
59
60
namespace
move_detail {
61
62
template
<
class
T>
63
struct
is_nothrow_move_constructible_or_uncopyable
64
{
65
//The standard requires is_nothrow_move_constructible for move_if_noexcept
66
//but a user (usually in C++03) might specialize has_nothrow_move which includes it
67
static
const
bool
value
=
is_nothrow_move_constructible<T>::value
||
68
has_nothrow_move<T>::value
||
69
!
is_copy_constructible<T>::value
;
70
};
71
72
}
//move_detail {
73
}
//namespace boost {
74
75
#include <
boost/move/detail/config_end.hpp
>
76
77
#endif //#ifndef BOOST_MOVE_TRAITS_HPP
boost::move_detail::is_nothrow_move_assignable
Definition:
type_traits.hpp:814
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::has_trivial_destructor_after_move
Definition:
traits.hpp:45
boost::move_detail::is_nothrow_move_constructible_or_uncopyable
Definition:
traits.hpp:63
value
GLfloat value
Definition:
glad/glad/glad.h:2100
config.hpp
meta_utils.hpp
boost::move_detail::is_nothrow_move_constructible
Definition:
type_traits.hpp:800
core.hpp
boost::has_nothrow_move
Definition:
traits.hpp:54
type_traits.hpp
config_end.hpp
boost::move_detail::is_trivially_destructible
Definition:
type_traits.hpp:743
config_begin.hpp
boost::move_detail::is_copy_constructible
Definition:
type_traits.hpp:707
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:50:12