Class to store the container* and provide reference counting via shared_ptr, and determine when a container should be destroyed for views which have taken ownership of the container. boost::shared_ptr is being used in place of std::shared_ptr in order to minimize the number of conflicts caused by ADL. Performance was shown to be comparable. More...
Protected Member Functions | |
| object_holder (object_holder const &other) | |
| object_holder (Container *ct) | |
| object_holder (Container const &ct) | |
| object_holder & | operator= (object_holder const &rhs) |
| Container * | container_ptr (void) const |
| Returns the container's pointer. | |
Class to store the container* and provide reference counting via shared_ptr, and determine when a container should be destroyed for views which have taken ownership of the container. boost::shared_ptr is being used in place of std::shared_ptr in order to minimize the number of conflicts caused by ADL. Performance was shown to be comparable.
1.8.13