#include <iostream>
template <size_t N>
void myMethod ( const int (& intArray) [N] )
{
std::cout << "Array of " << N << " ints\n";
return;
}
int main()
{
int array[10] = {0};
myMethod(array);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGUgPHNpemVfdCBOPgp2b2lkIG15TWV0aG9kICggY29uc3QgaW50ICgmIGludEFycmF5KSBbTl0gKQp7CiAgICBzdGQ6OmNvdXQgPDwgIkFycmF5IG9mICIgPDwgTiA8PCAiIGludHNcbiI7CiAgICByZXR1cm47Cn0KCmludCBtYWluKCkKewogICAgaW50IGFycmF5WzEwXSA9IHswfTsKICAgIG15TWV0aG9kKGFycmF5KTsKICAgIHJldHVybiAwOwp9