I am wondering the member function of shared_ptr
, weak_ptr
are thread-safe or not?
For example:
Is the weak_ptr::expired
an atomic operation?
Is shared_ptr<CAT> spc = aother_shared_ptr_obj;
an atomic operation?
Thanks.
I am wondering the member function of shared_ptr
, weak_ptr
are thread-safe or not?
For example:
Is the weak_ptr::expired
an atomic operation?
Is shared_ptr<CAT> spc = aother_shared_ptr_obj;
an atomic operation?
Thanks.