Answers for "array reference argument"

C
1

array reference argument

template<typename T, size_t N>
void foo(T (&bar)[N])
{
    // use N here
}
Posted by: Guest on November-29-2020

Code answers related to "array reference argument"

Code answers related to "C"

Browse Popular Code Answers by Language