v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
WrappedIterator< Iterator, ElementType > Class Template Reference

#include <v8-internal.h>

Public Types

using iterator_category = typename std::iterator_traits< Iterator >::iterator_category
 
using difference_type = typename std::iterator_traits< Iterator >::difference_type
 
using value_type = std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::value_type, ElementType >
 
using pointer = std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::pointer, ElementType * >
 
using reference = std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::reference, ElementType & >
 

Public Member Functions

constexpr WrappedIterator () noexcept
 
constexpr WrappedIterator (Iterator it) noexcept
 
template<typename OtherIterator , typename OtherElementType , std::enable_if_t< std::is_convertible_v< OtherIterator, Iterator >, bool > = true>
constexpr WrappedIterator (const WrappedIterator< OtherIterator, OtherElementType > &it) noexcept
 
constexpr reference operator* () const noexcept
 
constexpr pointer operator-> () const noexcept
 
constexpr WrappedIteratoroperator++ () noexcept
 
constexpr WrappedIterator operator++ (int) noexcept
 
constexpr WrappedIteratoroperator-- () noexcept
 
constexpr WrappedIterator operator-- (int) noexcept
 
constexpr WrappedIterator operator+ (difference_type n) const noexcept
 
constexpr WrappedIteratoroperator+= (difference_type n) noexcept
 
constexpr WrappedIterator operator- (difference_type n) const noexcept
 
constexpr WrappedIteratoroperator-= (difference_type n) noexcept
 
constexpr reference operator[] (difference_type n) const noexcept
 
constexpr Iterator base () const noexcept
 

Friends

template<typename OtherIterator , typename OtherElementType >
class WrappedIterator
 

Detailed Description

template<typename Iterator, typename ElementType = void>
class v8::internal::WrappedIterator< Iterator, ElementType >

Definition at line 1156 of file v8-internal.h.

Member Typedef Documentation

◆ difference_type

template<typename Iterator , typename ElementType = void>
using difference_type = typename std::iterator_traits<Iterator>::difference_type

Definition at line 1167 of file v8-internal.h.

◆ iterator_category

template<typename Iterator , typename ElementType = void>
using iterator_category = typename std::iterator_traits<Iterator>::iterator_category

Definition at line 1165 of file v8-internal.h.

◆ pointer

template<typename Iterator , typename ElementType = void>
using pointer = std::conditional_t<std::is_void_v<ElementType>, typename std::iterator_traits<Iterator>::pointer, ElementType*>

Definition at line 1173 of file v8-internal.h.

◆ reference

template<typename Iterator , typename ElementType = void>
using reference = std::conditional_t<std::is_void_v<ElementType>, typename std::iterator_traits<Iterator>::reference, ElementType&>

Definition at line 1177 of file v8-internal.h.

◆ value_type

template<typename Iterator , typename ElementType = void>
using value_type = std::conditional_t<std::is_void_v<ElementType>, typename std::iterator_traits<Iterator>::value_type, ElementType>

Definition at line 1169 of file v8-internal.h.

Constructor & Destructor Documentation

◆ WrappedIterator() [1/3]

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator ( )
inlineconstexprnoexcept

Definition at line 1182 of file v8-internal.h.

◆ WrappedIterator() [2/3]

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator ( Iterator  it)
inlineexplicitconstexprnoexcept

Definition at line 1183 of file v8-internal.h.

◆ WrappedIterator() [3/3]

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType , std::enable_if_t< std::is_convertible_v< OtherIterator, Iterator >, bool > = true>
constexpr WrappedIterator ( const WrappedIterator< OtherIterator, OtherElementType > &  it)
inlineconstexprnoexcept

Definition at line 1188 of file v8-internal.h.

Member Function Documentation

◆ base()

template<typename Iterator , typename ElementType = void>
constexpr Iterator base ( ) const
inlineconstexprnoexcept

◆ operator*()

template<typename Iterator , typename ElementType = void>
constexpr reference operator* ( ) const
inlineconstexprnoexcept

Definition at line 1192 of file v8-internal.h.

◆ operator+()

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator operator+ ( difference_type  n) const
inlineconstexprnoexcept

Definition at line 1214 of file v8-internal.h.

◆ operator++() [1/2]

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator & operator++ ( )
inlineconstexprnoexcept

Definition at line 1195 of file v8-internal.h.

◆ operator++() [2/2]

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator operator++ ( int  )
inlineconstexprnoexcept

Definition at line 1199 of file v8-internal.h.

◆ operator+=()

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator & operator+= ( difference_type  n)
inlineconstexprnoexcept

Definition at line 1219 of file v8-internal.h.

◆ operator-()

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator operator- ( difference_type  n) const
inlineconstexprnoexcept

Definition at line 1223 of file v8-internal.h.

◆ operator--() [1/2]

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator & operator-- ( )
inlineconstexprnoexcept

Definition at line 1205 of file v8-internal.h.

◆ operator--() [2/2]

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator operator-- ( int  )
inlineconstexprnoexcept

Definition at line 1209 of file v8-internal.h.

◆ operator-=()

template<typename Iterator , typename ElementType = void>
constexpr WrappedIterator & operator-= ( difference_type  n)
inlineconstexprnoexcept

Definition at line 1226 of file v8-internal.h.

◆ operator->()

template<typename Iterator , typename ElementType = void>
constexpr pointer operator-> ( ) const
inlineconstexprnoexcept

Definition at line 1193 of file v8-internal.h.

◆ operator[]()

template<typename Iterator , typename ElementType = void>
constexpr reference operator[] ( difference_type  n) const
inlineconstexprnoexcept

Definition at line 1230 of file v8-internal.h.

Friends And Related Symbol Documentation

◆ WrappedIterator

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
friend class WrappedIterator
friend

Definition at line 1238 of file v8-internal.h.


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