I am trying to detect static arrays from within a template, but I do not know if that is possible.
The following:
...
template<class T> struct _T<T[]> { ...
Is never hit, unless the array is uninitialized.
The following:
...
template<class T> struct _T<T[1]> { ...
Is only hit if the array contains 1 element.
And so on...
Is there some way to be able to capture all cases when a bracketed array is passed?