array reference argument
snippet in c

array reference argument

user5363

template<typename T, size_t N>
void foo(T (&bar)[N])
{
    // use N here
}