38# include <gtest/gtest.h>
46using namespace testing;
51 struct SentinelControl
53 SentinelControl() =
default;
63 static SentinelControl & get_data()
65 throw std::domain_error(
"SentinelControl has not data");
124 Tr::left(&p) = &child;
SentinelCtor
Tag type for sentinel node construction.
Node for binary search tree.
BinNode *& getR() noexcept
BinNode *& getL() noexcept
#define DECLARE_BINNODE_SENTINEL(Name, height, Control_Data)
Specify tree node for a binary tree.
constexpr Node *& RLINK(Node *p) noexcept
Return the right tree of p.
constexpr Node *& LLINK(Node *p) noexcept
Return a pointer to left subtree.
Singly linked list implementations with head-tail access.
Main namespace for Aleph-w library functions.
DynList< T > maps(const C &c, Op op)
Classic map operation.
Basic binary tree node definitions.