Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
remove_cv.hpp
Go to the documentation of this file.
1
2
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard
3
// Hinnant & John Maddock 2000.
4
// Use, modification and distribution are subject to the Boost Software License,
5
// Version 1.0. (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/type_traits for most recent version including documentation.
9
10
11
#ifndef BOOST_TT_REMOVE_CV_HPP_INCLUDED
12
#define BOOST_TT_REMOVE_CV_HPP_INCLUDED
13
14
#include <
boost/config.hpp
>
15
#include <
boost/detail/workaround.hpp
>
16
#include <cstddef>
// size_t
17
18
namespace
boost
{
19
20
// convert a type T to a non-cv-qualified type - remove_cv<T>
21
template
<
class
T>
struct
remove_cv
{
typedef
T
type
; };
22
template
<
class
T>
struct
remove_cv
<
T
const>{
typedef
T
type
; };
23
template
<
class
T>
struct
remove_cv
<
T
volatile>{
typedef
T
type
; };
24
template
<
class
T>
struct
remove_cv
<
T
const volatile>{
typedef
T
type
; };
25
26
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
27
template
<
class
T, std::
size_t
N>
struct
remove_cv
<
T
const[N]>{
typedef
T
type
[N]; };
28
template
<
class
T, std::
size_t
N>
struct
remove_cv
<
T
const volatile[N]>{
typedef
T
type
[N]; };
29
template
<
class
T, std::
size_t
N>
struct
remove_cv
<
T
volatile[N]>{
typedef
T
type
[N]; };
30
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600) && !defined(__IBMCPP__) && !BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
31
template
<
class
T>
struct
remove_cv
<
T
const[]>{
typedef
T
type
[]; };
32
template
<
class
T>
struct
remove_cv
<
T
const volatile[]>{
typedef
T
type
[]; };
33
template
<
class
T>
struct
remove_cv
<
T
volatile[]>{
typedef
T
type
[]; };
34
#endif
35
#endif
36
37
#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
38
39
template
<
class
T>
using
remove_cv_t
=
typename
remove_cv<T>::type
;
40
41
#endif
42
43
}
// namespace boost
44
45
#endif // BOOST_TT_REMOVE_CV_HPP_INCLUDED
boost::remove_cv_t
typename remove_cv< T >::type remove_cv_t
Definition:
remove_cv.hpp:39
boost::remove_cv
Definition:
remove_cv.hpp:21
boost::remove_cv::type
T type
Definition:
remove_cv.hpp:21
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::remove_cv< T const >::type
T type
Definition:
remove_cv.hpp:22
config.hpp
boost::remove_cv< T volatile >::type
T type
Definition:
remove_cv.hpp:23
workaround.hpp
t265_stereo.T
T
Definition:
t265_stereo.py:157
boost::remove_cv< T const volatile >::type
T type
Definition:
remove_cv.hpp:24
boost::type
Definition:
type.hpp:14
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:39