DPC++ Runtime
Runtime libraries for oneAPI DPC++
bit_cast.hpp File Reference
#include <type_traits>
#include <sycl/detail/memcpy.hpp>
Include dependency graph for bit_cast.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sycl
 
 sycl::_V1
 

Macros

#define __SYCL_HAS_BUILTIN_BIT_CAST   0
 

Functions

template<typename To , typename From >
std::enable_if_t< sizeof(To)==sizeof(From) &&std::is_trivially_copyable< From >::value &&std::is_trivially_copyable< To >::value, To > sycl::_V1::bit_cast (const From &from) noexcept
 

Macro Definition Documentation

◆ __SYCL_HAS_BUILTIN_BIT_CAST

#define __SYCL_HAS_BUILTIN_BIT_CAST   0

Definition at line 22 of file bit_cast.hpp.