Function safe_cast¶
function safe_cast(const InType &) test¶
template <typename OutType, typename InType>
inline OutType safe_cast(const InType& val) Casts between integral types after range-checking the source value.
| OutType | Destination integral type. |
| InType | Source integral type. |
| val | Value to convert. |
val converted to OutType via static_cast. |
Fully qualified name: kfr::safe_cast(const InType &)
Declared at test/assert.hpp:171
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.