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)¶
-
bool
equal
(const Four_int_values &other) const¶
-
bool
same
(const Four_int_values &other) const¶
-
void
print
() const¶
Private Static Functions
-
int
next_id
()¶
-