ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::BinaryNode Concept Reference

a node of a binary tree: a pointer to a struct whose children are read by left() and right() or by the fields left and right More...

#include <ADS/tree/BinaryTreeAlgorithms.h>

Concept definition

template< class N >
concept BinaryNode = std::is_pointer_v< N > && requires( N n )
{
detail::nodeLeft( n );
detail::nodeRight( n );
}
a node of a binary tree: a pointer to a struct whose children are read by left() and right() or by th...
Definition BinaryTreeAlgorithms.h:252

Detailed description

a node of a binary tree: a pointer to a struct whose children are read by left() and right() or by the fields left and right