Audacity 3.2.0
Public Types | List of all members
ValueIterator< Value, Category > Struct Template Reference

A convenience for defining iterators that return rvalue types, so that they cooperate correctly with stl algorithms and std::reverse_iterator. More...

#include <IteratorX.h>

Inheritance diagram for ValueIterator< Value, Category >:
[legend]

Public Types

using iterator_category = Category
 
using value_type = Value
 
using difference_type = ptrdiff_t
 
using pointer = void
 
using reference = const Value
 

Detailed Description

template<typename Value, typename Category = std::forward_iterator_tag>
struct ValueIterator< Value, Category >

A convenience for defining iterators that return rvalue types, so that they cooperate correctly with stl algorithms and std::reverse_iterator.

Definition at line 25 of file IteratorX.h.

Member Typedef Documentation

◆ difference_type

template<typename Value , typename Category = std::forward_iterator_tag>
using ValueIterator< Value, Category >::difference_type = ptrdiff_t

Definition at line 28 of file IteratorX.h.

◆ iterator_category

template<typename Value , typename Category = std::forward_iterator_tag>
using ValueIterator< Value, Category >::iterator_category = Category

Definition at line 26 of file IteratorX.h.

◆ pointer

template<typename Value , typename Category = std::forward_iterator_tag>
using ValueIterator< Value, Category >::pointer = void

Definition at line 30 of file IteratorX.h.

◆ reference

template<typename Value , typename Category = std::forward_iterator_tag>
using ValueIterator< Value, Category >::reference = const Value

Definition at line 32 of file IteratorX.h.

◆ value_type

template<typename Value , typename Category = std::forward_iterator_tag>
using ValueIterator< Value, Category >::value_type = Value

Definition at line 27 of file IteratorX.h.


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