29 template<
typename T,
size_t N >
38 template<
typename T,
size_t N>
43 static std::string _name = std::string(
"zero_initialized_array<")
54 to_variant(
static_cast<const std::array<unsigned char,N>&
>( bi ), v, max_depth );
59 from_variant( v,
static_cast<std::array<unsigned char,N>&
>( bi ), max_depth );
63 template<
typename Stream,
size_t N>
65 pack( s,
static_cast<const std::array<unsigned char,N>&
>( v ), _max_depth );
67 template<
typename Stream,
size_t N>
70 unpack( s,
static_cast<std::array<unsigned char,N>&
>( v ), _max_depth );
77 #if defined(__clang__)
79 #pragma clang diagnostic push
80 #pragma clang diagnostic ignored "-Wmismatched-tags"
82 template<
typename T,
size_t N >
83 class tuple_size<
fc::zero_initialized_array< T, N > > :
public tuple_size< array< T, N > > {};
84 #if defined(__clang__)
85 #pragma clang diagnostic pop