Skip to content

v0.2: Offset Pointer Support

Compare
Choose a tag to compare
@felixguendling felixguendling released this 16 Dec 22:45
· 530 commits to master since this release
c829cd0

offset_ptr: stores the offset as difference between this and the object it points to.
Serializing this allows to skip the deserialization step and just use a reinterpret_cast<T>(buf.begin()).
This is useful for example in situations with shared memory.