v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator Class Referencefinal

#include <threaded-list.h>

Collaboration diagram for v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = T*
 
using reference = const value_type
 
using pointer = const value_type*
 

Public Member Functions

 ConstIterator (Iterator &iterator)
 
ConstIteratoroperator++ ()
 
bool operator== (const ConstIterator &other) const
 
bool operator!= (const ConstIterator &other) const
 
const Toperator* () const
 

Private Member Functions

 ConstIterator (T *const *entry)
 

Private Attributes

T *const * entry_
 

Friends

class ThreadedListBase
 

Detailed Description

template<typename T, typename BaseClass, typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
class v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator

Definition at line 230 of file threaded-list.h.

Member Typedef Documentation

◆ difference_type

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::difference_type = std::ptrdiff_t

Definition at line 233 of file threaded-list.h.

◆ iterator_category

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::iterator_category = std::forward_iterator_tag

Definition at line 232 of file threaded-list.h.

◆ pointer

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::pointer = const value_type*

Definition at line 236 of file threaded-list.h.

◆ reference

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::reference = const value_type

Definition at line 235 of file threaded-list.h.

◆ value_type

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
using v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::value_type = T*

Definition at line 234 of file threaded-list.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::ConstIterator ( Iterator & iterator)
inline

Definition at line 240 of file threaded-list.h.

◆ ConstIterator() [2/2]

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::ConstIterator ( T *const * entry)
inlineexplicitprivate

Definition at line 256 of file threaded-list.h.

Member Function Documentation

◆ operator!=()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::operator!= ( const ConstIterator & other) const
inline

Definition at line 250 of file threaded-list.h.

◆ operator*()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
const T * v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::operator* ( ) const
inline

Definition at line 253 of file threaded-list.h.

◆ operator++()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
ConstIterator & v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::operator++ ( )
inline

Definition at line 243 of file threaded-list.h.

◆ operator==()

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
bool v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::operator== ( const ConstIterator & other) const
inline

Definition at line 247 of file threaded-list.h.

Friends And Related Symbol Documentation

◆ ThreadedListBase

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
friend class ThreadedListBase
friend

Definition at line 260 of file threaded-list.h.

Member Data Documentation

◆ entry_

template<typename T , typename BaseClass , typename TLTraits = ThreadedListTraits<T>, bool kSupportsUnsafeInsertion = false>
T* const* v8::base::ThreadedListBase< T, BaseClass, TLTraits, kSupportsUnsafeInsertion >::ConstIterator::entry_
private

Definition at line 258 of file threaded-list.h.


The documentation for this class was generated from the following file: