#include <limits>Go to the source code of this file.
Namespaces | |
| smash | |
Functions | |
| template<typename D , typename S > | |
| constexpr D | smash::numeric_cast (const S value) |
| Function template to perform a safe numeric conversion between types. More... | |
| template<> | |
| constexpr uint32_t | smash::numeric_cast (const size_t value) |
Function template specialization to perform a safe numeric conversion from size_t to uint32_t . More... | |