nil::crypto3::detail::can_memcpy< stream_endian::host_unit< UnitBits >, InputBits, OutputBits, InT, OutT > Struct Template Reference

#include <pack.hpp>

+ Inheritance diagram for nil::crypto3::detail::can_memcpy< stream_endian::host_unit< UnitBits >, InputBits, OutputBits, InT, OutT >:
+ Collaboration diagram for nil::crypto3::detail::can_memcpy< stream_endian::host_unit< UnitBits >, InputBits, OutputBits, InT, OutT >:

Static Public Attributes

constexpr static const bool value
 
static bool const value
 

Member Data Documentation

◆ value [1/2]

template<int UnitBits, int InputBits, int OutputBits, typename InT , typename OutT >
static bool const nil::crypto3::detail::host_can_memcpy< UnitBits, InputBits, OutputBits, InT, OutT >::value
staticconstexprinherited
Initial value:
= !(UnitBits % CHAR_BIT) && InputBits >= UnitBits &&
OutputBits >= UnitBits && sizeof(InT) * CHAR_BIT == InputBits &&
sizeof(OutT) * CHAR_BIT == OutputBits

◆ value [2/2]

template<int UnitBits, int InputBits, int OutputBits, typename InT , typename OutT >
bool const nil::crypto3::detail::host_can_memcpy< UnitBits, InputBits, OutputBits, InT, OutT >::value
staticinherited
Initial value:
= !(UnitBits % CHAR_BIT) && InputBits >= UnitBits && OutputBits >= UnitBits &&
sizeof(InT) * CHAR_BIT == InputBits && sizeof(OutT) * CHAR_BIT == OutputBits

The documentation for this struct was generated from the following file: