Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

array reference argument

template<typename T, size_t N>
void foo(T (&bar)[N])
{
    // use N here
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #array #reference #argument
ADD COMMENT
Topic
Name
2+9 =