nil::crypto3::detail::is_big_unit< Endianness, UnitBits > Struct Template Reference

The group of traits below is used to determine the order of units defined by the endianness. More...

#include <reverser.hpp>

+ Collaboration diagram for nil::crypto3::detail::is_big_unit< Endianness, UnitBits >:

Static Public Attributes

constexpr static const bool value
 

Detailed Description

template<typename Endianness, int UnitBits>
struct nil::crypto3::detail::is_big_unit< Endianness, UnitBits >

The group of traits below is used to determine the order of units defined by the endianness.

Trait to determine whether the order of units defined by Endianness endianness is big.

Template Parameters
Endianness
UnitBits

Member Data Documentation

◆ value

template<typename Endianness , int UnitBits>
constexpr static const bool nil::crypto3::detail::is_big_unit< Endianness, UnitBits >::value
staticconstexpr
Initial value:
=
std::is_same<Endianness, stream_endian::big_unit_big_bit<UnitBits>>::value ||
std::is_same<Endianness, stream_endian::big_unit_little_bit<UnitBits>>::value
constexpr static const bool value
Definition: block/include/nil/crypto3/detail/reverser.hpp:373

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