Open ldionne opened 7 years ago
Basically, hold a shared_ptr to the object, but then copy the pointee whenever a non-const function is called.
shared_ptr
Basically, hold a
shared_ptr
to the object, but then copy the pointee whenever a non-const function is called.