
19 Jan
2010
19 Jan
'10
12:28 p.m.
Am Tuesday 19 January 2010 08:47:19 schrieb Rutger ter Borg:
Interesting, when building an abstraction on top of Berkeley DB, here I used
is that layer publicly available?
1) type_traits/has_trivial_copy 2) introduced a has_trivial_array type trait (type that serializes with ptr/size, and can be constructed with a ptr/size), e.g., std::vector, std::string, etc. 3) serialization fallback
I think there is no way around a user-defined trait. a POD containing a pointer has a trivial copy constructor but it is not bitwise serializable.