libhatchet
Loading...
Searching...
No Matches
hxconstexpr_list_node Class Reference

#include <hxconstexpr_list.hpp>

Public Member Functions

constexpr hxconstexpr_list_node (void)
constexpr hxconstexpr_list_node (const hxconstexpr_list_node &)
constexpr hxconstexpr_list_nodeoperator= (const hxconstexpr_list_node &other_)

Detailed Description

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.

Constructor & Destructor Documentation

◆ hxconstexpr_list_node() [1/2]

hxconstexpr_list_node::hxconstexpr_list_node ( void )
inlineconstexpr

Constructs an unlinked node.

◆ hxconstexpr_list_node() [2/2]

hxconstexpr_list_node::hxconstexpr_list_node ( const hxconstexpr_list_node & )
inlineconstexpr

Constructs an unlinked node.

Member Function Documentation

◆ operator=()

hxconstexpr_list_node & hxconstexpr_list_node::operator= ( const hxconstexpr_list_node & other_)
inlineconstexpr

Assigns nothing. List linkage of either node is not affected.


The documentation for this class was generated from the following file: