Class shared_memory::Four_int_values

class shared_memory::Four_int_values

Example of an instance that can be serialized.

Notice: There is a default constructor There is a serialize function It is friend to private_serialization

Public Functions

Four_int_values()
Four_int_values(int a, int b, int c, int d)
int get_id() const
void set_id(int id)
template<class Archive>
inline void serialize(Archive &archive)
bool equal(const Four_int_values &other) const
bool same(const Four_int_values &other) const
void print() const

Private Members

friend private_serialization
std::vector<int> values_
int id_

Private Static Functions

static int next_id()