4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::container::tree::to_root< Tree > Class Template Reference

Classes

class  iterator
 

Public Types

using const_iterator = iterator
 

Public Member Functions

 to_root (Tree &_tree)
 Construct a to-root traversal from a tree (which can be const or nonconst)
 
iterator begin () const
 Return an iterator to the first tree in the traversal.
 
iterator end () const
 Return a dummy iterator to stop the traversal.
 

Member Typedef Documentation

◆ const_iterator

template<typename Tree >
using fcppt::container::tree::to_root< Tree >::const_iterator = iterator

Constructor & Destructor Documentation

◆ to_root()

template<typename Tree >
fcppt::container::tree::to_root< Tree >::to_root ( Tree & _tree)
inlineexplicit

Construct a to-root traversal from a tree (which can be const or nonconst)

Member Function Documentation

◆ begin()

template<typename Tree >
iterator fcppt::container::tree::to_root< Tree >::begin ( ) const
inlinenodiscard

Return an iterator to the first tree in the traversal.

◆ end()

template<typename Tree >
iterator fcppt::container::tree::to_root< Tree >::end ( ) const
inlinenodiscard

Return a dummy iterator to stop the traversal.