|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Functions | |
| template<class T > | |
| constexpr T * | as_graph_item (const T *p) noexcept |
| Hands a node or an arc read through a view back to the graph. | |
|
constexprnoexcept |
Hands a node or an arc read through a view back to the graph.
The members of the graph classes that only read still take Node * and Arc *. This is the single place where the view and its iterators remove the const that they add; nothing reached through the result is written.
| [in] | p | a node or an arc of the graph. |
p, as the graph expects it. Definition at line 156 of file tpl_const_graph_view.H.
Referenced by Aleph::Const_Graph_View< GT >::as_graph_item().