16 inline T*
Raw()
const {
return helper->t_ptr; }
26 inline PtrHelper(T *t_ptr,
bool auto_delete)
29 auto_delete(auto_delete) {
47 inline void Delete() {
50 loc_t_ptr = t_ptr.exchange(NULL);
55 if (loc_t_ptr != NULL) {
60 inline void Revoke() {
65 std::atomic<T*> t_ptr;
T * Raw() const
Returns a direct reference to the enclosed pointer.
Definition: PtrSharedCommon.h:16
uint64_t u64
64-bit unsigned integer.
Definition: Types.h:31