File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -117,21 +117,8 @@ template<typename Stream> inline uint64_t ser_readdata64(Stream &s)
117117}
118118
119119
120- // ///////////////////////////////////////////////////////////////
121- //
122- // Templates for serializing to anything that looks like a stream,
123- // i.e. anything that supports .read(Span<std::byte>) and .write(Span<const std::byte>)
124- //
125-
126120class SizeComputer ;
127121
128- enum
129- {
130- // primary actions
131- SER_NETWORK = (1 << 0 ),
132- SER_DISK = (1 << 1 ),
133- };
134-
135122/* *
136123 * Convert any argument to a reference to X, maintaining constness.
137124 *
@@ -268,6 +255,9 @@ const Out& AsBase(const In& x)
268255 BASE_SERIALIZE_METHODS (cls) \
269256 FORMATTER_METHODS_PARAMS(cls, obj, paramcls, paramobj)
270257
258+ // Templates for serializing to anything that looks like a stream,
259+ // i.e. anything that supports .read(Span<std::byte>) and .write(Span<const std::byte>)
260+ //
271261// clang-format off
272262#ifndef CHAR_EQUALS_INT8
273263template <typename Stream> void Serialize (Stream&, char ) = delete; // char serialization forbidden. Use uint8_t or int8_t
You can’t perform that action at this time.
0 commit comments