Arduino Helpers master
Utility library for Arduino
Classes | Typedefs | Functions
Array.hpp File Reference
#include <AH/Error/Error.hpp>
#include <AH/STL/iterator>
#include <AH/STL/type_traits>
#include <stddef.h>
+ Include dependency graph for Array.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Array< T, N >
 An array wrapper for easy copying, comparing, and iterating. More...
 
class  ArraySlice< T, N, Reverse, Const >
 Class for a view on a slice of an array. More...
 

Typedefs

template<class T , size_t NumRows, size_t NumCols>
using Array2D = Array< Array< T, NumCols >, NumRows >
 An easy alias for two-dimensional Arrays. More...
 

Functions

template<class T >
constexpr T abs_diff (const T &a, const T &b)
 

Function Documentation

◆ abs_diff()

constexpr T abs_diff ( const T &  a,
const T &  b 
)
constexpr

Definition at line 13 of file Array.hpp.