MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / countof

Function countof

system/lib/libcxx/src/locale.cpp:92–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91template <typename T, size_t N>
92inline constexpr size_t countof(const T (&)[N]) {
93 return N;
94}
95
96template <typename T>
97inline constexpr size_t countof(const T* const begin, const T* const end) {

Callers 6

check_device_sanityFunction · 0.85
__analyzeMethod · 0.85
initMethod · 0.85
__do_putMethod · 0.85
locale.cppFile · 0.85
queue_ctorsFunction · 0.85

Calls

no outgoing calls

Tested by 1

check_device_sanityFunction · 0.68