v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
MemorySpan< T >::Iterator Class Reference

#include <v8-memory-span.h>

Public Types

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

Public Member Functions

T & operator* () const
 
T * operator-> () const
 
bool operator== (Iterator other) const
 
bool operator!= (Iterator other) const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 

Friends

class MemorySpan< T >
 

Detailed Description

template<typename T>
class v8::MemorySpan< T >::Iterator

Definition at line 120 of file v8-memory-span.h.

Member Typedef Documentation

◆ difference_type

template<typename T >
using difference_type = std::ptrdiff_t

Definition at line 124 of file v8-memory-span.h.

◆ iterator_category

template<typename T >
using iterator_category = std::forward_iterator_tag

Definition at line 122 of file v8-memory-span.h.

◆ pointer

template<typename T >
using pointer = value_type*

Definition at line 125 of file v8-memory-span.h.

◆ reference

template<typename T >
using reference = value_type&

Definition at line 126 of file v8-memory-span.h.

◆ value_type

template<typename T >
using value_type = T

Definition at line 123 of file v8-memory-span.h.

Member Function Documentation

◆ operator!=()

template<typename T >
bool operator!= ( Iterator  other) const
inline

Definition at line 132 of file v8-memory-span.h.

◆ operator*()

template<typename T >
T & operator* ( ) const
inline

Definition at line 128 of file v8-memory-span.h.

◆ operator++() [1/2]

template<typename T >
Iterator & operator++ ( )
inline

Definition at line 134 of file v8-memory-span.h.

◆ operator++() [2/2]

template<typename T >
Iterator operator++ ( int  )
inline

Definition at line 139 of file v8-memory-span.h.

◆ operator->()

template<typename T >
T * operator-> ( ) const
inline

Definition at line 129 of file v8-memory-span.h.

◆ operator==()

template<typename T >
bool operator== ( Iterator  other) const
inline

Definition at line 131 of file v8-memory-span.h.

Friends And Related Symbol Documentation

◆ MemorySpan< T >

template<typename T >
friend class MemorySpan< T >
friend

Definition at line 139 of file v8-memory-span.h.


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