Reusable serialisers for serialization container types in a length-prefixed manner.
T | The type of the collection being serialised |
Inner | This the most important parameter; this is the "inner" protocol. The user of this will substitute MyProtocol or similar when making a MyProtocol::Serialiser<Collection<T>> . Note that the inside is allowed to call to call Inner::Serialiser on different types. This is especially important for std::map which doesn't have a single T but one K and one V . |