5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_INTRUSIVE_BINARY_TREE_NODE_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_INTRUSIVE_BINARY_TREE_NODE_HPP_
8#include "arene/base/intrusive/detail/default_tag.hpp"
18template <
typename T,
typename Tag,
typename Comp>
24class binary_tree_node_pass_key {
26 constexpr explicit binary_tree_node_pass_key() =
default;
29 template <
typename T,
typename Tag,
typename Comp>
56 constexpr auto is_linked()
const noexcept ->
bool {
return parent_ !=
nullptr; }
The tree node of the intrusive container. User type can be derived from this class to support intrusi...
Definition binary_tree_node.hpp:41
constexpr auto is_linked() const noexcept -> bool
Check if the element is linked to a container.
Definition binary_tree_node.hpp:56
friend constexpr auto get_parent_link(binary_tree_node &element, Tag, detail::binary_tree_node_pass_key) noexcept -> binary_tree_node *&
Getter to the parent_ member. pass_key idiom is used to grant access only to the intrusive priority q...
Definition binary_tree_node.hpp:68
friend constexpr auto get_right_link(binary_tree_node &element, Tag, detail::binary_tree_node_pass_key) noexcept -> binary_tree_node *&
Getter to the right_ member. pass_key idiom is used to grant access only to the intrusive priority qu...
Definition binary_tree_node.hpp:108
friend constexpr auto get_left_link(binary_tree_node &element, Tag, detail::binary_tree_node_pass_key) noexcept -> binary_tree_node *&
Getter to the left_ member. pass_key idiom is used to grant access only to the intrusive priority que...
Definition binary_tree_node.hpp:88
Compare value_compare
value comparison type
Definition priority_queue.hpp:51
Definition binary_tree_node.hpp:14
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10