Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
array_utils_example.cc File Reference

Educational examples for array utility functions. More...

#include <iostream>
#include <array_utils.H>
#include <tpl_dynArray.H>
Include dependency graph for array_utils_example.cc:

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

Educational examples for array utility functions.

WHAT ARE ARRAY UTILITIES?

Low-level functions for efficient array manipulation including:

  • Gap operations (insert/delete space)
  • Reversing and rotation
  • In-place transformations

WHY USE THESE UTILITIES?

  • O(n) performance for common operations
  • In-place algorithms (minimal memory overhead)
  • Foundation for data structure implementations
  • Used internally by DynArray, DynList, etc.

COMPILE & RUN:

g++ -std=c++20 -I.. -o array_utils_example array_utils_example.cc ./array_utils_example

Definition in file array_utils_example.cc.

Function Documentation

◆ main()