55 using iterator =
typename std::conditional<std::is_const<T>::value,
56 typename T::const_reverse_iterator,
typename T::reverse_iterator>::type;
A wrapper class to easily iterate through a container in reverse.
T & m_container
The container for which reverse iterators should be provided.
iterator begin()
Returns a reverse iterator to the last element of m_container.
iterator end()
Returns a reverse iterator to the one-before-first element of m_container.
Reverse(T &container)
Creates a reverse iteration wrapper for container.
typename std::conditional< std::is_const< T >::value, typename T::const_reverse_iterator, typename T::reverse_iterator >::type iterator
Provides a reverse iterator disguised a normal iterator.
Reverse< T > reverse(T &container)
Provides iterators for container to make it easily iterable in reverse.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.