Crashpad
|
#include <sys/types.h>
#include <type_traits>
Namespaces | |
crashpad | |
The main namespace. | |
crashpad::internal | |
The internal namespace, not for public use. | |
Macros | |
#define | ArraySize(array) crashpad::internal::ArraySizeHelper<decltype(array)>() |
A way of computing an array’s size. More... | |
Functions | |
template<typename ArrayType > | |
constexpr size_t | crashpad::internal::ArraySizeHelper () noexcept |
A helper to implement ArraySize. | |
#define ArraySize | ( | array | ) | crashpad::internal::ArraySizeHelper<decltype(array)>() |
A way of computing an array’s size.
Use this only where base::size()
or std::size()
won’t work, such as in constant expressions (including static_assert
expressions) that consider the sizes of non-static data members.