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
#define FC_RETHROW_EXCEPTIONS(LOG_LEVEL, FORMAT,...)
Catchs all exception's, std::exceptions, and ... and rethrows them after appending the provided log m...
static const char * name()
void to_variant(const flat_set< T, A... > &var, variant &vo, uint32_t _max_depth)
void unpack(Stream &s, zero_initialized_array< unsigned char, N > &v, uint32_t _max_depth)
stores null, int64, uint64, double, bool, string, std::vector<variant>, and variant_object's.
void from_variant(const variant &var, flat_set< T, A... > &vo, uint32_t _max_depth)
std::string to_string(double)
void pack(Stream &s, const zero_initialized_array< unsigned char, N > &v, uint32_t _max_depth)