4.4.1
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions
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
inline

Return an iterator to the first tree in the traversal.

◆ end()

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

Return a dummy iterator to stop the traversal.