Replace raw pointers with: object_ptr
C++ 21 Mar 2019 809Provide a pointer-like object that won't own the pointee and can be used as a replacement of raw pointer. Does not allow pointer options like `delete` or pointer arithmetic to avoid potential dangerous actions. Find out what `std::experimental::observer_ptr
There is not much you can do with `jss::object_ptr
"Yesterday I uploaded my object_ptr<T> implementation to under the Boost Software License. This is an implementation of a class similar to from the , but with various improvements suggested in ..."
Author
Just Software Solutions
For further author's articles please visit the author's website.
https://www.justsoftwaresolutions.co.uk/