The macro only works correctly when the input argument is an array with a statically known size - pointers or arrays decayed to pointers won't work silently. While this is unlikely to surface issues that aren't caught in tests/code review, use _countof for MSVC to prevent such code from compiling. |
||
|---|---|---|
| .. | ||
| pugiconfig.hpp | ||
| pugixml.cpp | ||
| pugixml.hpp | ||