Template Function librapid::bitCast#
Defined in File memUtils.hpp
Function Documentation#
-
template<typename To, typename From>
constexpr To librapid::bitCast(const From &val) noexcept# Cast the bits of one value directly into another type — no conversion is performed
- Template Parameters
To – The type to cast to
From – The type to cast from
- Parameters
val – The value to cast
- Returns
The value bitwise mapped to the new type