Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
SimpleArray Struct Reference
Inheritance diagram for SimpleArray:
[legend]
Collaboration diagram for SimpleArray:
[legend]

Public Member Functions

 SimpleArray ()
 
 ~SimpleArray ()
 
void print () const noexcept
 

Public Attributes

size_t n = 17
 
inta = nullptr
 
vector< inta = {3, 2, 1, 0, 4, 5, 6, 7, 8, 9}
 
Array< intb = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
 
Array< string > c = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j"}
 

Detailed Description

Definition at line 49 of file array_utils.cc.

Constructor & Destructor Documentation

◆ SimpleArray()

SimpleArray::SimpleArray ( )
inline

Definition at line 53 of file array_utils.cc.

References a, and n.

◆ ~SimpleArray()

SimpleArray::~SimpleArray ( )
inline

Definition at line 58 of file array_utils.cc.

References a.

Member Function Documentation

◆ print()

void SimpleArray::print ( ) const
inlinenoexcept

Definition at line 59 of file array_utils.cc.

References a, Aleph::maps(), and n.

Member Data Documentation

◆ a [1/2]

int* SimpleArray::a = nullptr

Definition at line 52 of file array_utils.cc.

Referenced by SimpleArray(), ~SimpleArray(), and print().

◆ a [2/2]

vector<int> SimpleArray::a = {3, 2, 1, 0, 4, 5, 6, 7, 8, 9}

Definition at line 67 of file sort_arrays.cc.

◆ b

Array<int> SimpleArray::b = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}

Definition at line 68 of file sort_arrays.cc.

◆ c

Array<string> SimpleArray::c = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j"}

Definition at line 69 of file sort_arrays.cc.

◆ n

size_t SimpleArray::n = 17

Definition at line 51 of file array_utils.cc.

Referenced by SimpleArray(), and print().


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