树
0.1
数据结构_第6章
|
linkQueue的结点类 More...
Public Member Functions | |
node (const value_type &data=value_type(), node *next=nullptr) | |
Construct a new node object. More... | |
node (value_type &&data, node *next=nullptr) | |
Construct a new node object. More... | |
~node ()=default | |
Destroy the node object. More... | |
Public Attributes | |
value_type | _data |
数据域 More... | |
node * | _next |
指向后继node的指针 More... | |
linkQueue的结点类
Definition at line 77 of file linkQueue.hh.
|
inline |
Construct a new node object.
data | 数据 |
next | 指向后继结点的指针 |
Definition at line 97 of file linkQueue.hh.
|
inline |
Construct a new node object.
data | 数据的值 |
next | 指向后继结点的指针 |
Definition at line 106 of file linkQueue.hh.
|
default |
Destroy the node object.
value_type Queue::linkQueue< T >::node::_data |
数据域
Definition at line 83 of file linkQueue.hh.
node* Queue::linkQueue< T >::node::_next |
指向后继node的指针
Definition at line 89 of file linkQueue.hh.
Referenced by Queue::linkQueue< T >::push().