24#include <forward_list>
38template <
typename T,
typename Allocator>
48 const std::forward_list<T, Allocator>& value) {
50 std::distance(value.begin(), value.end())));
51 for (
const auto& elem : value) {
Class of buffers to serialize data.
void serialize(const T &data)
Serialize data.
void serialize_array_size(std::size_t size)
Serialize a size of an array.
Forward declaration of classes to support serialization of data types.
Namespace of classes to support serialization of types.
Definition of serialization_buffer class.
static void serialize(serialization_buffer &buffer, const std::forward_list< T, Allocator > &value)
Serialize a value.
Class to define functions to serialize data of various types.