6 #ifndef TURI_SERIALIZABLE 7 #define TURI_SERIALIZABLE 8 #include <boost/concept/assert.hpp> 9 #include <boost/concept/requires.hpp> 10 #include <boost/concept_check.hpp> 12 #include <core/storage/serialization/serialize.hpp> 25 class Serializable : boost::Assignable<T>, boost::DefaultConstructible<T> {
28 std::stringstream strm;
31 const T const_t = T();
The serialization input archive object which, provided with a reference to an istream, will read from the istream, providing deserialization capabilities.
Concept checks if a type T is serializable.
The serialization output archive object which, provided with a reference to an ostream, will write to the ostream, providing serialization capabilities.