The group of traits below is used to determine the possibility of fast data copy. By fast data copy we mean that the data is stored contiguously in the memory, so it can be copied faster byte-by-byte. Currently, fast data copy is implemented by memcpy function call. More...
#include <pack.hpp>
Static Public Attributes | |
constexpr static const bool | value |
static bool const | value |
Detailed Description
template<int UnitBits, int InputBits, int OutputBits, typename InT, typename OutT>
struct nil::crypto3::detail::host_can_memcpy< UnitBits, InputBits, OutputBits, InT, OutT >
The group of traits below is used to determine the possibility of fast data copy. By fast data copy we mean that the data is stored contiguously in the memory, so it can be copied faster byte-by-byte. Currently, fast data copy is implemented by memcpy function call.
host_can_memcpy trait checks whether the data to be copied and the container to be copied to are byte-aligned. Parameter types InT and OutT may refer to pointed data types or to iterator types.
- Template Parameters
-
UnitBits ValueBits InT OutT
Member Data Documentation
◆ value [1/2]
|
staticconstexpr |
◆ value [2/2]
|
static |
The documentation for this struct was generated from the following file: