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_node & operator= (const hxconstexpr_list_node &x_)

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. Copy construction produces an unlinked node and assignment does nothing.

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 & x_)
inlineconstexpr

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


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