Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
third-party
realsense-file
boost
boost
range
const_iterator.hpp
Go to the documentation of this file.
1
// Boost.Range library
2
//
3
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
4
// distribution is subject to the Boost Software License, Version
5
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6
// http://www.boost.org/LICENSE_1_0.txt)
7
//
8
// For more information, see http://www.boost.org/libs/range/
9
//
10
11
#ifndef BOOST_RANGE_CONST_ITERATOR_HPP
12
#define BOOST_RANGE_CONST_ITERATOR_HPP
13
14
#if defined(_MSC_VER)
15
# pragma once
16
#endif
17
18
#include <
boost/range/config.hpp
>
19
20
#include <
boost/range/range_fwd.hpp
>
21
#include <
boost/range/detail/extract_optional_type.hpp
>
22
#include <
boost/type_traits/remove_const.hpp
>
23
#include <
boost/type_traits/remove_reference.hpp
>
24
#include <cstddef>
25
#include <utility>
26
27
namespace
boost
28
{
30
// default
32
33
namespace
range_detail
34
{
35
36
BOOST_RANGE_EXTRACT_OPTIONAL_TYPE
( const_iterator )
37
38
template< typename C >
39
struct
range_const_iterator
40
: extract_const_iterator<C>
41
{};
42
44
// pair
46
47
template
<
typename
Iterator >
48
struct
range_const_iterator
<
std
::pair<Iterator,Iterator> >
49
{
50
typedef
Iterator
type
;
51
};
52
54
// array
56
57
template
<
typename
T, std::
size_t
sz >
58
struct
range_const_iterator
<
T
[sz] >
59
{
60
typedef
const
T
*
type
;
61
};
62
63
}
// namespace range_detail
64
65
template
<
typename
C,
typename
Enabler=
void
>
66
struct
range_const_iterator
67
:
range_detail::range_const_iterator
<
68
BOOST_DEDUCED_TYPENAME remove_reference<C>::type
69
>
70
{
71
};
72
73
}
// namespace boost
74
75
76
#endif
boost
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
Definition:
core/addressof.hpp:19
boost::range_const_iterator
Definition:
const_iterator.hpp:66
BOOST_RANGE_EXTRACT_OPTIONAL_TYPE
#define BOOST_RANGE_EXTRACT_OPTIONAL_TYPE(a_typedef)
Definition:
extract_optional_type.hpp:26
remove_const.hpp
std
Definition:
android_helpers.h:13
config.hpp
boost::range_detail::range_const_iterator
Definition:
const_iterator.hpp:39
t265_stereo.T
T
Definition:
t265_stereo.py:157
remove_reference.hpp
range_fwd.hpp
boost::range_detail::range_const_iterator< std::pair< Iterator, Iterator > >::type
Iterator type
Definition:
const_iterator.hpp:50
boost::range_detail::range_const_iterator< T[sz] >::type
const T * type
Definition:
const_iterator.hpp:60
extract_optional_type.hpp
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:12