Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
v8::internal::WrappedIterator< Iterator, ElementType > Class Template Reference

#include <v8-internal.h>

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

Public Types

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, std::add_pointer_t< ElementType > >
 
using reference = std::conditional_t< std::is_void_v< ElementType >, typename std::iterator_traits< Iterator >::reference, std::add_lvalue_reference_t< ElementType > >
 
using iterator_category = typename std::iterator_traits< Iterator >::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
 

Friends

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

Member Typedef Documentation

◆ difference_type

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

◆ iterator_category

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

◆ pointer

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

◆ reference

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

◆ value_type

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

Constructor & Destructor Documentation

◆ WrappedIterator() [1/3]

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

◆ WrappedIterator() [2/3]

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

◆ 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>>>
constexpr v8::internal::WrappedIterator< Iterator, ElementType >::WrappedIterator ( const WrappedIterator< OtherIterator, OtherElementType > &  other)
inlineconstexprnoexcept

Member Function Documentation

◆ base()

template<typename Iterator , typename ElementType = void>
constexpr const Iterator & v8::internal::WrappedIterator< Iterator, ElementType >::base ( ) const
inlineconstexprnoexcept
Here is the caller graph for this function:

◆ operator!=()

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

◆ operator*()

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

◆ operator+()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

◆ operator->()

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

◆ operator<()

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

◆ operator<=()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
constexpr bool v8::internal::WrappedIterator< Iterator, ElementType >::operator<= ( const WrappedIterator< OtherIterator, OtherElementType > &  other) const
inlineconstexprnoexcept
Here is the call graph for this function:

◆ operator==()

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

◆ operator>()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
constexpr bool v8::internal::WrappedIterator< Iterator, ElementType >::operator> ( const WrappedIterator< OtherIterator, OtherElementType > &  other) const
inlineconstexprnoexcept
Here is the call graph for this function:

◆ operator>=()

template<typename Iterator , typename ElementType = void>
template<typename OtherIterator , typename OtherElementType >
constexpr bool v8::internal::WrappedIterator< Iterator, ElementType >::operator>= ( const WrappedIterator< OtherIterator, OtherElementType > &  other) const
inlineconstexprnoexcept
Here is the call graph for this function:

◆ operator[]()

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

Friends And Related Function Documentation

◆ operator+

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

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