Is it possible to return a static fixed size array from a function? What would be the syntax for this. I am not asking for std::array, neither for T*, I am specifically asking for arrays of the form T arr[N]. For instance one can take such an array as an argument in a function through the following syntax:
template<typename T, auto N>
void func(T (&arr)[N])
{
}
void func() { T arr[N]; }, it is dead at the end of the function.std::array.