sick_visionary_cpp_shared
3pp
boost
type_traits
remove_all_extents.hpp
Go to the documentation of this file.
1
2
// (C) Copyright John Maddock 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_ALL_EXTENTS_HPP_INCLUDED
10
#define BOOST_TT_REMOVE_ALL_EXTENTS_HPP_INCLUDED
11
12
#include <
boost/config.hpp
>
13
#include <cstddef>
// size_t
14
#include <
boost/detail/workaround.hpp
>
15
16
namespace
boost
{
17
18
template
<
class
T>
struct
remove_all_extents
{
typedef
T
type
; };
19
20
#if !defined(BOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
21
template
<
class
T, std::
size_t
N>
struct
remove_all_extents
<
T
[N]> :
public
remove_all_extents
<T>{};
22
template
<
class
T, std::
size_t
N>
struct
remove_all_extents
<
T
const[N]> :
public
remove_all_extents
<T const>{};
23
template
<
class
T, std::
size_t
N>
struct
remove_all_extents
<
T
volatile[N]> :
public
remove_all_extents
<T volatile>{};
24
template
<
class
T, std::
size_t
N>
struct
remove_all_extents
<
T
const volatile[N]> :
public
remove_all_extents
<T const volatile>{};
25
#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) && !defined(__IBMCPP__) && !BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840))
26
template
<
class
T>
struct
remove_all_extents
<
T
[]> :
public
remove_all_extents
<T>{};
27
template
<
class
T>
struct
remove_all_extents
<
T
const[]> :
public
remove_all_extents
<T const>{};
28
template
<
class
T>
struct
remove_all_extents
<
T
volatile[]> :
public
remove_all_extents
<T volatile>{};
29
template
<
class
T>
struct
remove_all_extents
<
T
const volatile[]> :
public
remove_all_extents
<T const volatile>{};
30
#endif
31
#endif
32
33
}
// namespace boost
34
35
#endif // BOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED
T
T
Definition:
mem_fn_cc.hpp:25
config.hpp
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
boost::remove_all_extents::type
T type
Definition:
remove_all_extents.hpp:18
boost::remove_all_extents
Definition:
remove_all_extents.hpp:18
workaround.hpp
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:45:49