Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::BinNodeLike Concept Reference

A binary tree node usable by tpl_binNodeUtils.H. More...

#include <ah-concepts.H>

Concept definition

template<class Node>
A binary tree node usable by tpl_binNodeUtils.H.
Unqualified form of BinNodeLike, applied to a cv-free node type.

Detailed Description

A binary tree node usable by tpl_binNodeUtils.H.

Requires the protocol DECLARE_BINNODE generates: a key_type, the NullPtr sentinel, and on a non-const node getL()/getR() returning the link itself (Node *&, what LLINK/RLINK assign through) and get_key(). cv-qualifiers on Node are ignored: the utilities may be instantiated with const Node, whose getL() returns a const Node * by value.

Template Parameters
Nodecandidate node type.

Definition at line 517 of file ah-concepts.H.