Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
type_traits
remove_extent.hpp
Go to the documentation of this file.
1
2
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000-2005.
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_REMOVE_EXTENT_HPP_INCLUDED
10
#define BOOST_TT_REMOVE_EXTENT_HPP_INCLUDED
11
12
#include <
boost/config.hpp
>
13
#include <
boost/detail/workaround.hpp
>
14
#include <cstddef>
// size_t
15
16
namespace
boost
{
17
18
template
<
class
T>
struct
remove_extent
{
typedef
T
type
; };
19
20
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
21
template
<
typename
T, std::
size_t
N>
struct
remove_extent
<
T
[N]> {
typedef
T
type
; };
22
template
<
typename
T, std::
size_t
N>
struct
remove_extent
<
T
const[N]> {
typedef
T
const
type
; };
23
template
<
typename
T, std::
size_t
N>
struct
remove_extent
<
T
volatile [N]> {
typedef
T
volatile
type
; };
24
template
<
typename
T, std::
size_t
N>
struct
remove_extent
<
T
const volatile [N]> {
typedef
T
const
volatile
type
; };
25
#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) && !defined(__IBMCPP__) && !BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
26
template
<
typename
T>
struct
remove_extent
<
T
[]> {
typedef
T
type
; };
27
template
<
typename
T>
struct
remove_extent
<
T
const[]> {
typedef
T
const
type
; };
28
template
<
typename
T>
struct
remove_extent
<
T
volatile[]> {
typedef
T
volatile
type
; };
29
template
<
typename
T>
struct
remove_extent
<
T
const volatile[]> {
typedef
T
const
volatile
type
; };
30
#endif
31
#endif
32
33
#if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
34
35
template
<
class
T>
using
remove_extent_t
=
typename
remove_extent<T>::type
;
36
37
#endif
38
39
}
// namespace boost
40
41
#endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED
boost::remove_extent< T const volatile[]>::type
T const volatile type
Definition:
remove_extent.hpp:29
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::remove_extent::type
T type
Definition:
remove_extent.hpp:18
boost::remove_extent< T volatile[]>::type
T volatile type
Definition:
remove_extent.hpp:28
boost::remove_extent< T const []>::type
T const type
Definition:
remove_extent.hpp:27
config.hpp
boost::remove_extent< T[]>::type
T type
Definition:
remove_extent.hpp:26
boost::remove_extent< T const [N]>::type
T const type
Definition:
remove_extent.hpp:22
workaround.hpp
t265_stereo.T
T
Definition:
t265_stereo.py:157
boost::remove_extent< T const volatile[N]>::type
T const volatile type
Definition:
remove_extent.hpp:24
boost::remove_extent< T volatile[N]>::type
T volatile type
Definition:
remove_extent.hpp:23
boost::remove_extent_t
typename remove_extent< T >::type remove_extent_t
Definition:
remove_extent.hpp:35
boost::remove_extent< T[N]>::type
T type
Definition:
remove_extent.hpp:21
boost::remove_extent
Definition:
remove_extent.hpp:18
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:39