52 using namespace std::string_literals;
59 catch (
const std::exception& ex)
61 CBEAM_LOG(
"cbeam::serialization: Exception while serializing: "s + ex.what());
65 CBEAM_LOG(
"cbeam::serialization: Unknown exception while serializing"s);
Manages memory buffers with stable reference counting, optimized for shared library contexts.
Definition stable_reference_buffer.hpp:63
#define CBEAM_LOG(s)
Logs a message using cbeam::logging::log_manager.
Definition log_manager.hpp:124
Implements traits-based serialization for complex data types, including standard containers and custo...
Definition direct.hpp:38
void * serialized_object
Represents a serialized value in memory.
Definition traits.hpp:42
static void serialize(const T &val, container::buffer &stream)
Required to serialize an object of type T into a shared_buffer stream.
Definition traits.hpp:63
static void deserialize(serialized_object &it, T &val)
Required to deserialize an object of type T from a serialized memory block, incrementing the iterator...
Definition traits.hpp:77