In the C++ code below, the templated Check function gives an output that is not what I would like: it\'s 1 instead of 3. I suspect that K is mapped to int*, not
int*
template<class T, size_t S> void Check(T (&)[S]) { cout << "Deduced size: " << S << endl; }