Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::graph_dry_detail Namespace Reference

Classes

struct  arc_curr
 What GT::Arc_Iterator::get_curr() yields, deferred on D. More...
 
class  In_Arcs_Walk
 The iterator on the arcs into a node of a digraph type, which In_Iterator is on a type built with the Digraph template. More...
 
struct  node_arc_curr
 What GT::Node_Arc_Iterator::get_curr() yields, deferred on D. More...
 
struct  node_curr
 What GT::Node_Iterator::get_curr() yields, deferred on D. More...
 
struct  Show_Every_Arc
 The filter of a walk that shows every arc. More...
 

Functions

template<class It >
decltype(auto) curr_ne (It &it)
 The current item of it, which must have one.
 

Function Documentation

◆ curr_ne()

template<class It >
decltype(auto) Aleph::graph_dry_detail::curr_ne ( It &  it)
inline

The current item of it, which must have one.

get_curr_ne(), if it gives what get_curr() gives (AlephUncheckedIterator): the loops that ask has_curr() first do not need the check of get_curr(), whose code for the exception can make the compiler leave it out of line. Otherwise get_curr(), which need not be const.

Parameters
[in]itan iterator on an item.
Returns
the current item of it.

Definition at line 107 of file graph-dry.H.

References Aleph::DynList< T >::Iterator::get_curr(), and Aleph::DynList< T >::Iterator::get_curr_ne().