Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Public Member Functions | |
int | val () |
std::shared_ptr< link > & | succ () |
link (int value=0) | |
Private Attributes | |
int | pvalue |
value of the current link | |
std::shared_ptr< link > | psucc |
pointer to the next value on the list | |
A link class containing a value and pointer to another link
|
inlineexplicit |
Creates link with provided value and pointer to next link
value | is the integer stored in the link |
|
inline |
|
inline |
function returns the integer value stored in the link.