VLC 4.0.0-dev
|
Base class for iterators on the vlc::list's vlc_list wrapper. More...
#include <vlc_list.hpp>
Public Types | |
using | iterator_category = std::bidirectional_iterator_tag |
using | value_type = std::conditional_t< is_const, const NodeType, NodeType > |
using | pointer = std::conditional_t< is_const, const NodeType *, NodeType * > |
using | reference = std::conditional_t< is_const, const NodeType &, NodeType & > |
using | difference_type = std::ptrdiff_t |
using | iterator_type = list_iterator_base< NodeType, ListType > |
Public Member Functions | |
list_iterator_base (ListType &list, vlc_list NodeType::*node_ptr) | |
reference | operator* () const |
pointer | operator-> () const |
iterator_type | operator++ () |
iterator_type | operator++ (int) |
iterator_type & | operator-- () |
iterator_type | operator-- (int) |
Protected Member Functions | |
constexpr std::ptrdiff_t | offset () const |
Protected Attributes | |
ListType * | _current |
ListType * | _next |
ListType * | _prev |
vlc_list NodeType::* | _node_ptr |
Static Protected Attributes | |
static constexpr bool | is_const = std::is_const<ListType>::value |
Friends | |
bool | operator== (const iterator_type &a, const iterator_type &b) |
bool | operator!= (const iterator_type &a, const iterator_type &b) |
Base class for iterators on the vlc::list's vlc_list wrapper.
The base class c
using vlc::list_iterator_base< NodeType, ListType >::difference_type = std::ptrdiff_t |
using vlc::list_iterator_base< NodeType, ListType >::iterator_category = std::bidirectional_iterator_tag |
using vlc::list_iterator_base< NodeType, ListType >::iterator_type = list_iterator_base<NodeType, ListType> |
using vlc::list_iterator_base< NodeType, ListType >::pointer = std::conditional_t<is_const, const NodeType*, NodeType*> |
using vlc::list_iterator_base< NodeType, ListType >::reference = std::conditional_t<is_const, const NodeType&, NodeType&> |
using vlc::list_iterator_base< NodeType, ListType >::value_type = std::conditional_t<is_const, const NodeType, NodeType> |
|
inline |
|
inlineconstexprprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticconstexprprotected |