|
libhatchet
|
#include <hxconstexpr_list.hpp>
Public Member Functions | |
| constexpr | hxconstexpr_list_node (void) |
| constexpr | hxconstexpr_list_node (const hxconstexpr_list_node &) |
| constexpr hxconstexpr_list_node & | operator= (const hxconstexpr_list_node &other_) |
hxconstexpr_list_node - Intrusive doubly linked list node base.
This is the same as hxlist except that it works with constexpr at the expense of using an additional pointer per-node. Derive from hxconstexpr_list_node to make a type linkable into an hxconstexpr_list. Nodes default to unlinked on construction. Copy and move construction and assignment produce or leave a fresh unlinked node so that subclasses may implement the standard operators naturally.
|
inlineconstexpr |
Constructs an unlinked node.
|
inlineconstexpr |
Constructs an unlinked node.
|
inlineconstexpr |
Assigns nothing. List linkage of either node is not affected.