Searched defs:countof (Results 1 – 3 of 3) sorted by relevance
34 #define countof(a) ((int)(sizeof(a)/sizeof(*a))) macro
23 #define countof(array) (sizeof(array)/sizeof(*(array))) macro
96 inline constexpr size_t countof(const T (&)[N]) { in countof() function101 inline constexpr size_t countof(const T* const begin, const T* const end) { in countof() function