![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Singly linked hook. User type can be derived from this class to support intrusive containers. More...
Public Member Functions | |
| constexpr auto | is_linked () const noexcept -> bool |
| Check if the element is linked to a container. | |
Friends | |
| constexpr auto | get_next_link (singly_linked_node &element, Tag, detail::singly_linked_node_pass_key) noexcept -> singly_linked_node *& |
| Getter to the next_ member. singly_linked_node_pass_key idiom is used to grant access only to the intrusive queue. | |
Singly linked hook. User type can be derived from this class to support intrusive containers.
| T | The type of the element. |
| Tag | The tag of the element. Used to support adding the same element to multiple intrusive containers. |
|
inlineconstexprnoexcept |
Check if the element is linked to a container.
true if the element is linked to a container, false
|
friend |
Getter to the next_ member. singly_linked_node_pass_key idiom is used to grant access only to the intrusive queue.
| element | The element to get the next_ member from |