
19 Feb
2013
19 Feb
'13
7:55 p.m.
El 19/02/2013 18:15, Ion Gaztañaga escribió:
Ok maybe we need to store an atomic<OffsetType> inside atomic<offset_ptr> and add a new constructor to offset_ptr taking an address and an offset. Would that be enough?
We already have a function to get the internal offset to complement the constructor: offset_type get_offset() const { return this->internal.m_offset; } Best, Ion