Conduit
latest
Overview
Demos
Library API
Resources
Citing
Publications & Presentations
Projects using Conduit
Conduit
»
Library API
»
Template Function std::bit_cast
Edit on GitHub
Template Function std::bit_cast
¶
Defined in
File bit_cast.hpp
Function Documentation
¶
template<class
To
, class
From
>
std::enable_if_t<sizeof(
To
) == sizeof(
From
) && std::is_trivially_copyable_v<
From
> && std::is_trivially_copyable_v<
To
>,
To
>
std
::
bit_cast
(
const
From
&
src
)
noexcept
¶