MCPcopy Create free account
hub / github.com/aria2/aria2 / arraySize

Function arraySize

src/array_fun.h:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace aria2 {
44
45template <typename T, size_t N> constexpr size_t arraySize(T (&)[N])
46{
47 return N;
48}
49
50template <typename T, size_t N> class array_wrapper {
51private:

Callers 6

testArrayLengthMethod · 0.85
testDoReceivedActionMethod · 0.85
testFilterMethod · 0.85
testUpdateMethod · 0.85
testParseArgMethod · 0.85
testSelectMethod · 0.85

Calls

no outgoing calls

Tested by 6

testArrayLengthMethod · 0.68
testDoReceivedActionMethod · 0.68
testFilterMethod · 0.68
testUpdateMethod · 0.68
testParseArgMethod · 0.68
testSelectMethod · 0.68