tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Classes | Functions
array.h File Reference
#include "config.h"
Include dependency graph for array.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Array< T, N >
 Fixed-size array container for embedded systems. More...
 
struct  Array< T, 0 >
 Empty array specialization. More...
 

Functions

template<typename T , typename... U>
 Array (T, U...) -> Array< T, 1+sizeof...(U)>
 

Function Documentation

◆ Array()

template<typename T , typename... U>
Array ( ,
U...   
) -> Array< T, 1+sizeof...(U)>

Enables brace-initialization without explicit template arguments: Array arr = {1, 2, 3}; // deduces Array<int, 3>

First argument determines element type T. Total argument count determines size N.