MOS Source Code
Loading...
Searching...
No Matches
list< T >::node Struct Reference
+ Inheritance diagram for list< T >::node:
+ Collaboration diagram for list< T >::node:

Public Member Functions

 node (const T &value)
 

Public Attributes

value
 
nodenext = nullptr
 

Additional Inherited Members

- Static Public Attributes inherited from NamedType<"List.Node">
static constexpr mos::string_view type_name
 

Detailed Description

template<typename T>
struct mos::list< T >::node

Definition at line 104 of file list.hpp.

Constructor & Destructor Documentation

◆ node()

template<typename T>
node ( const T & value)
inline

Definition at line 109 of file list.hpp.

Member Data Documentation

◆ value

template<typename T>
T value

Definition at line 106 of file list.hpp.

Referenced by node().

◆ next

template<typename T>
node* next = nullptr

Definition at line 107 of file list.hpp.

Referenced by list< T >::erase(), list< T >::insert(), and list< T >::push_front().


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