数据结构实验5
Public Member Functions | Public Attributes | List of all members
my::deque< T >::Node Struct Reference

#include <deque.h>

Collaboration diagram for my::deque< T >::Node:
Collaboration graph
[legend]

Public Member Functions

 Node (const T &d=T{}, Node *p=nullptr, Node *n=nullptr)
 
 Node (T &&d, Node *p=nullptr, Node *n=nullptr)
 

Public Attributes

data
 
Nodeprev
 
Nodenext
 

Constructor & Destructor Documentation

◆ Node() [1/2]

template<typename T >
my::deque< T >::Node::Node ( const T &  d = T{},
Node p = nullptr,
Node n = nullptr 
)
inlineexplicit

◆ Node() [2/2]

template<typename T >
my::deque< T >::Node::Node ( T &&  d,
Node p = nullptr,
Node n = nullptr 
)
inlineexplicit

Member Data Documentation

◆ data

template<typename T >
T my::deque< T >::Node::data

◆ next

template<typename T >
Node* my::deque< T >::Node::next

◆ prev

template<typename T >
Node* my::deque< T >::Node::prev

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