nil::crypto3::detail::can_memcpy< Endianness, InputBits, OutputBits, InT, OutT > Struct Template Reference
can_memcpy trait is derived from host_can_memcpy trait and is invoked depending on data endianness. Note that there is a single endianness template parameter since otherwise we have to transform data in accordance with endianness conversion rules. More...
#include <pack.hpp>
Collaboration diagram for nil::crypto3::detail::can_memcpy< Endianness, InputBits, OutputBits, InT, OutT >:
Static Public Attributes | |
constexpr static const bool | value = InputBits == OutputBits && sizeof(InT) == sizeof(OutT) |
static bool const | value = InputBits == OutputBits && sizeof(InT) == sizeof(OutT) |
Detailed Description
template<typename Endianness, int InputBits, int OutputBits, typename InT, typename OutT>
struct nil::crypto3::detail::can_memcpy< Endianness, InputBits, OutputBits, InT, OutT >
can_memcpy trait is derived from host_can_memcpy trait and is invoked depending on data endianness. Note that there is a single endianness template parameter since otherwise we have to transform data in accordance with endianness conversion rules.
- Template Parameters
-
Endianness ValueBits InT OutT
Member Data Documentation
◆ value [1/2]
template<typename Endianness , int InputBits, int OutputBits, typename InT , typename OutT >
|
staticconstexpr |
◆ value [2/2]
template<typename Endianness , int InputBits, int OutputBits, typename InT , typename OutT >
|
static |
The documentation for this struct was generated from the following file: