snippets 0.1.0
Loading...
Searching...
No Matches
hsc_snippets::ListNode Struct Reference

#include <linked_list.hpp>

Collaboration diagram for hsc_snippets::ListNode:

Public Member Functions

 ListNode ()
 
 ListNode (int x)
 
 ListNode (int x, ListNode *next)
 

Public Attributes

int val
 
ListNodenext
 

Constructor & Destructor Documentation

◆ ListNode() [1/3]

hsc_snippets::ListNode::ListNode ( )
inline

◆ ListNode() [2/3]

hsc_snippets::ListNode::ListNode ( int x)
inlineexplicit

◆ ListNode() [3/3]

hsc_snippets::ListNode::ListNode ( int x,
ListNode * next )
inline

Member Data Documentation

◆ next

ListNode* hsc_snippets::ListNode::next

◆ val

int hsc_snippets::ListNode::val

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