Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
test-memarray.C File Reference
#include <iostream>
#include <memory>
#include <concepts>
#include <stdexcept>
#include <ah-errors.H>
#include <tpl_memArray.H>
Include dependency graph for test-memarray.C:

Go to the source code of this file.

Classes

struct  Foo
 

Functions

template<typename T >
requires std::convertible_to<T, int>
void print (const MemArray< T > &s)
 
template<typename T >
requires std::constructible_from<T, int>
MemArray< Tcreate_memarray (int n)
 
int main (int argc, char *argv[])
 

Variables

int g_count = -1
 

Function Documentation

◆ create_memarray()

template<typename T >
requires std::constructible_from<T, int>
MemArray< T > create_memarray ( int  n)

Definition at line 88 of file test-memarray.C.

References Aleph::divide_and_conquer_partition_dp().

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ print()

template<typename T >
requires std::convertible_to<T, int>
void print ( const MemArray< T > &  s)

Variable Documentation

◆ g_count

int g_count = -1

Definition at line 38 of file test-memarray.C.

Referenced by Foo::Foo().