|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
链表节点结构 更多...
#include <list.hpp>
Public 成员函数 | |
| list_node () noexcept(is_nothrow_default_constructible_v< T >) | |
| 默认构造函数 | |
| template<typename... Args> | |
| list_node (Args &&... args) noexcept(is_nothrow_constructible_v< T, Args... >) | |
| 参数构造 | |
Public 属性 | |
| T | data |
| 节点存储的数据 | |
| list_node * | prev = nullptr |
| 指向前一个节点的指针 | |
| list_node * | next = nullptr |
| 指向后一个节点的指针 | |
链表节点结构
| T | 节点存储的数据类型 |
作为list容器的基本节点单元,包含数据域和前后指针。
|
inlinenoexcept |
|
inlineexplicitnoexcept |