openMSX
|
Go to the source code of this file.
Macros | |
#define | countof(array) (sizeof(countofHelper(array))) |
Functions | |
template<typename T , unsigned N> | |
char(& | countofHelper (T(&)[N]))[N] |
#define countof | ( | array | ) | (sizeof(countofHelper(array))) |
Definition at line 48 of file countof.hh.
Referenced by openmsx::FileOperations::getSystemDataDir(), and openmsx::AmdFlash::write().
char(& countofHelper | ( | T(&) | [N] | ) | )[N] |