template <typename T>
class CheckedContiguousIterator
Defined at line 22 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
Public Methods
void CheckedContiguousIterator<T> ()
Defined at line 40 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
void CheckedContiguousIterator<T> (T * start, const T * end)
Defined at line 42 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
void CheckedContiguousIterator<T> (const T * start, T * current, const T * end)
Defined at line 46 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
void CheckedContiguousIterator<T> (const CheckedContiguousIterator<T> & other)
Defined at line 54 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
template <typename U>
void CheckedContiguousIterator<T> (const CheckedContiguousIterator<U> & other)
Converting constructor allowing conversions like CCI
<T
> to CCI
<const
T>,
but disallowing CCI
<const
T> to CCI
<T
> or CCI
<Derived
> to CCI
<Base
>, which
are unsafe. Furthermore, this is the same condition as used by the
converting constructors of std::span
<T
> and std::unique_ptr
<T
[]>.
See https://wg21.link/n4042 for details.
Defined at line 63 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
void ~CheckedContiguousIterator<T> ()
Defined at line 73 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> & operator= (const CheckedContiguousIterator<T> & other)
Defined at line 75 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> & operator++ ()
Defined at line 90 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> operator++ (int )
Defined at line 96 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> & operator-- ()
Defined at line 102 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> operator-- (int )
Defined at line 108 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> & operator+= (difference_type rhs)
Defined at line 114 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> operator+ (difference_type rhs)
Defined at line 124 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> & operator-= (difference_type rhs)
Defined at line 136 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
CheckedContiguousIterator<T> operator- (difference_type rhs)
Defined at line 146 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
reference operator* ()
Defined at line 159 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
pointer operator-> ()
Defined at line 164 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
reference operator[] (difference_type rhs)
Defined at line 169 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
bool IsRangeMoveSafe (const CheckedContiguousIterator<T> & from_begin, const CheckedContiguousIterator<T> & from_end, const CheckedContiguousIterator<T> & to)
Defined at line 175 of file ../../third_party/mini_chromium/src/base/containers/checked_iterators.h
Friends
template <typename T>
difference_type CheckedContiguousIterator (const CheckedContiguousIterator<T> & lhs, const CheckedContiguousIterator<T> & rhs)
template <typename T>
CheckedContiguousIterator CheckedContiguousIterator (difference_type lhs, const CheckedContiguousIterator<T> & rhs)
template <typename T>
auto CheckedContiguousIterator (const CheckedContiguousIterator<T> & lhs, const CheckedContiguousIterator<T> & rhs)
template <typename T>
bool CheckedContiguousIterator (const CheckedContiguousIterator<T> & lhs, const CheckedContiguousIterator<T> & rhs)
template <typename Ptr>
class pointer_traits
template <typename U>
class CheckedContiguousIterator