This repository was archived by the owner on Feb 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
include/nil/crypto3/detail Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -135,16 +135,11 @@ namespace nil {
135
135
136
136
template <typename T>
137
137
struct is_codec {
138
- static const bool value = has_type_encoded_value_type<T>::value &&
139
- has_static_member_data_encoded_value_bits<T, const std::size_t >::value &&
140
- has_type_decoded_value_type<T>::value &&
141
- has_static_member_data_decoded_value_bits<T, const std::size_t >::value &&
142
- has_type_encoded_block_type<T>::value &&
143
- has_static_member_data_encoded_block_bits<T, const std::size_t >::value &&
144
- has_type_decoded_block_type<T>::value &&
145
- has_static_member_data_decoded_block_bits<T, const std::size_t >::value &&
146
- has_member_function_encode<T, typename T::block_type>::value &&
147
- has_member_function_decode<T, typename T::block_type>::value;
138
+ static const bool value = has_encoded_value_type<T>::value && has_encoded_value_bits<T>::value &&
139
+ has_decoded_value_type<T>::value && has_decoded_value_bits<T>::value &&
140
+ has_encoded_block_type<T>::value && has_encoded_block_bits<T>::value &&
141
+ has_decoded_block_type<T>::value && has_decoded_block_bits<T>::value &&
142
+ has_encode<T>::value && has_decode<T>::value;
148
143
typedef T type;
149
144
};
150
145
You can’t perform that action at this time.
0 commit comments