v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::WrappedIterator< Iterator, ElementType > Class Template Reference

#include <v8-internal.h>

Inheritance diagram for v8::internal::WrappedIterator< Iterator, ElementType >:
Collaboration diagram for v8::internal::WrappedIterator< Iterator, ElementType >:

Public Types

using difference_type
 
using value_type
 
using pointer
 
using reference
 
using iterator_category
 

Public Member Functions

constexpr WrappedIterator () noexcept=default
 
constexpr WrappedIterator (Iterator it) noexcept
 
template<typename OtherIterator , typename OtherElementType , typename = std::enable_if_t< std::is_convertible_v<OtherIterator, Iterator>>>
constexpr WrappedIterator (const WrappedIterator< OtherIterator, OtherElementType > &other) noexcept
 
constexpr reference operator* () const noexcept
 
constexpr pointer operator-> () const noexcept
 
template<typename OtherIterator , typename OtherElementType >
constexpr bool operator== (const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
 
template<typename OtherIterator , typename OtherElementType >
constexpr bool operator!= (const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
 
template<typename OtherIterator , typename OtherElementType >
constexpr bool operator< (const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
 
template<typename OtherIterator , typename OtherElementType >
constexpr bool operator<= (const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
 
template<typename OtherIterator , typename OtherElementType >
constexpr bool operator> (const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
 
template<typename OtherIterator , typename OtherElementType >
constexpr bool operator>= (const WrappedIterator< OtherIterator, OtherElementType > &other) 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
 
template<typename OtherIterator , typename OtherElementType >
constexpr auto operator- (const WrappedIterator< OtherIterator, OtherElementType > &other) const noexcept
 
constexpr reference operator[] (difference_type n) const noexcept
 
constexpr const Iterator & base () const noexcept
 

Private Attributes

Iterator it_
 

Friends

constexpr WrappedIterator operator+ (difference_type n, const WrappedIterator &x) noexcept
 

Detailed Description

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

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

Member Typedef Documentation

◆ difference_type

template<typename Iterator , typename ElementType = void>
using v8::internal::WrappedIterator< Iterator, ElementType >::difference_type
Initial value:
typename std::iterator_traits<Iterator>::difference_type

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

◆ iterator_category

template<typename Iterator , typename ElementType = void>
using v8::internal::WrappedIterator< Iterator, ElementType >::iterator_category
Initial value:
typename std::iterator_traits<Iterator>::iterator_category

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

◆ pointer

template<typename Iterator , typename ElementType = void>
using v8::internal::WrappedIterator< Iterator, ElementType >::pointer
Initial value:
std::conditional_t<std::is_void_v<ElementType>,
typename std::iterator_traits<Iterator>::pointer,
std::add_pointer_t<ElementType>>

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

◆ reference

template<typename Iterator , typename ElementType = void>
using v8::internal::WrappedIterator< Iterator, ElementType >::reference
Initial value:
std::conditional_t<std::is_void_v<ElementType>,
typename std::iterator_traits<Iterator>::reference,
std::add_lvalue_reference_t<ElementType>>

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

◆ value_type

template<typename Iterator , typename ElementType = void>
using v8::internal::WrappedIterator< Iterator, ElementType >::value_type
Initial value:
std::conditional_t<std::is_void_v<ElementType>,
typename std::iterator_traits<Iterator>::value_type,
ElementType>

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

Constructor & Destructor Documentation

◆ WrappedIterator() [1/3]

template<typename Iterator , typename ElementType = void>
v8::internal::WrappedIterator< Iterator, ElementType >::WrappedIterator ( )
constexprdefaultnoexcept

◆ WrappedIterator() [2/3]

template<typename Iterator , typename ElementType = void>
v8::internal::WrappedIterator< Iterator, ElementType >::WrappedIterator ( Iterator it)
inlineexplicitconstexprnoexcept

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

◆ WrappedIterator() [3/3]

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType , typename = std::enable_if_t< std::is_convertible_v<OtherIterator, Iterator>>>
v8::internal::WrappedIterator< Iterator, ElementType >::WrappedIterator ( const WrappedIterator< OtherIterator, OtherElementType > & other)
inlineconstexprnoexcept

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

Member Function Documentation

◆ base()

template<typename Iterator , typename ElementType = void>
const Iterator & v8::internal::WrappedIterator< Iterator, ElementType >::base ( ) const
inlinenodiscardconstexprnoexcept

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

Here is the caller graph for this function:

◆ operator!=()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
bool v8::internal::WrappedIterator< Iterator, ElementType >::operator!= ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator*()

template<typename Iterator , typename ElementType = void>
reference v8::internal::WrappedIterator< Iterator, ElementType >::operator* ( ) const
inlinenodiscardconstexprnoexcept

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

◆ operator+()

template<typename Iterator , typename ElementType = void>
WrappedIterator v8::internal::WrappedIterator< Iterator, ElementType >::operator+ ( difference_type n) const
inlinenodiscardconstexprnoexcept

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

◆ operator++() [1/2]

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

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

◆ operator++() [2/2]

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

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

◆ operator+=()

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

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

◆ operator-() [1/2]

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
auto v8::internal::WrappedIterator< Iterator, ElementType >::operator- ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator-() [2/2]

template<typename Iterator , typename ElementType = void>
WrappedIterator v8::internal::WrappedIterator< Iterator, ElementType >::operator- ( difference_type n) const
inlinenodiscardconstexprnoexcept

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

◆ operator--() [1/2]

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

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

◆ operator--() [2/2]

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

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

◆ operator-=()

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

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

◆ operator->()

template<typename Iterator , typename ElementType = void>
pointer v8::internal::WrappedIterator< Iterator, ElementType >::operator-> ( ) const
inlinenodiscardconstexprnoexcept

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

◆ operator<()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
bool v8::internal::WrappedIterator< Iterator, ElementType >::operator< ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator<=()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
bool v8::internal::WrappedIterator< Iterator, ElementType >::operator<= ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator==()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
bool v8::internal::WrappedIterator< Iterator, ElementType >::operator== ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator>()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
bool v8::internal::WrappedIterator< Iterator, ElementType >::operator> ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator>=()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
bool v8::internal::WrappedIterator< Iterator, ElementType >::operator>= ( const WrappedIterator< OtherIterator, OtherElementType > & other) const
inlinenodiscardconstexprnoexcept

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

◆ operator[]()

template<typename Iterator , typename ElementType = void>
reference v8::internal::WrappedIterator< Iterator, ElementType >::operator[] ( difference_type n) const
inlinenodiscardconstexprnoexcept

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

Friends And Related Symbol Documentation

◆ operator+

template<typename Iterator , typename ElementType = void>
WrappedIterator operator+ ( difference_type n,
const WrappedIterator< Iterator, ElementType > & x )
friend

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

Member Data Documentation

◆ it_

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

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


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