stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
Loading...
Searching...
No Matches
stlab::child_adaptor< Forest > Class Template Reference

Presents the children of a node (given by a fullorder iterator into forest) as a small sequence-like interface: front / back / push_front / push_back / pop_front / pop_back. More...

#include <forest.hpp>

Public Types

using forest_type
using value_type
using iterator_type
using reference
using const_reference
using difference_type
using iterator

Public Member Functions

 child_adaptor (forest_type &f, iterator_type &i)
auto back () -> value_type &
auto front () -> value_type &
void push_back (const value_type &x)
void push_front (const value_type &x)
void pop_back ()
void pop_front ()

Detailed Description

template<class Forest>
class stlab::child_adaptor< Forest >

Presents the children of a node (given by a fullorder iterator into forest) as a small sequence-like interface: front / back / push_front / push_back / pop_front / pop_back.


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