AceCommon  1.5.2
Arduino library for low-level common functions and features with no external dependencies
Functions
reverse.h File Reference

Templatized function that reverses the elements of a given array. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
void ace_common::reverse (T list[], size_t size)
 Reverse the given array in-place. More...
 

Detailed Description

Templatized function that reverses the elements of a given array.

Definition in file reverse.h.

Function Documentation

◆ reverse()

template<typename T >
void ace_common::reverse ( list[],
size_t  size 
)

Reverse the given array in-place.

Template Parameters
Ttype of each element in the array

Definition at line 41 of file reverse.h.