ONE - On-device Neural Engine
Loading...
Searching...
No Matches
flatbuffers::VectorReverseIterator< Iterator > Struct Template Reference

#include <flatbuffers.h>

Collaboration diagram for flatbuffers::VectorReverseIterator< Iterator >:

Public Member Functions

 VectorReverseIterator (Iterator iter)
 
Iterator::value_type operator* () const
 
Iterator::value_type operator-> () const
 

Detailed Description

template<typename Iterator>
struct flatbuffers::VectorReverseIterator< Iterator >

Definition at line 243 of file flatbuffers.h.

Constructor & Destructor Documentation

◆ VectorReverseIterator()

template<typename Iterator >
flatbuffers::VectorReverseIterator< Iterator >::VectorReverseIterator ( Iterator  iter)
inlineexplicit

Definition at line 245 of file flatbuffers.h.

245: std::reverse_iterator<Iterator>(iter) {}

Member Function Documentation

◆ operator*()

template<typename Iterator >
Iterator::value_type flatbuffers::VectorReverseIterator< Iterator >::operator* ( ) const
inline

Definition at line 249 of file flatbuffers.h.

250 {
251 auto tmp = std::reverse_iterator<Iterator>::current;
252 return *--tmp;
253 }

◆ operator->()

template<typename Iterator >
Iterator::value_type flatbuffers::VectorReverseIterator< Iterator >::operator-> ( ) const
inline

Definition at line 257 of file flatbuffers.h.

258 {
259 auto tmp = std::reverse_iterator<Iterator>::current;
260 return *--tmp;
261 }

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