18 template <
typename Tag = struct Unknown>
25 template <
typename Tag>
27 scale::ScaleEncoderStream &s,
const Stub<Tag> &data) {
28 throw std::runtime_error(fmt::format(
29 "Can not encode: encoding object is stubbed type tagged by {}",
33 template <
typename Tag>
35 scale::ScaleDecoderStream &s,
Stub<Tag> &data) {
36 throw std::runtime_error(fmt::format(
37 "Can not decode: decoding object is stubbed type tagged by {}",
Stub-class for unimplemented types.
Stream & operator>>(Stream &s, Empty &)
Stream & operator<<(Stream &s, const Empty &)
bool operator==(const Stub &) const