A helper class that implements useful smart pointer operations. More...
#include <PointerUtil.h>
Static Public Member Functions | |
template<class T > | |
static void | moveSharedPtrFromSetToSet (typename std::set< std::shared_ptr< T >>::iterator it, std::set< std::shared_ptr< T >> *from, std::set< std::shared_ptr< T >> *to) |
A helper method to move a shared_ptr from a set to another. More... | |
template<class T > | |
static void | moveUniquePtrFromSetToSet (typename std::set< std::unique_ptr< T >>::iterator it, std::set< std::unique_ptr< T >> *from, std::set< std::unique_ptr< T >> *to) |
A helper method to move a unique_ptr from a set to another. More... | |
Detailed Description
A helper class that implements useful smart pointer operations.
Member Function Documentation
◆ moveSharedPtrFromSetToSet()
|
inlinestatic |
A helper method to move a shared_ptr from a set to another.
- Template Parameters
-
template class
- Parameters
-
it iterator from pointer to the set in which the object is to pointer to the set to which the object should be moved
◆ moveUniquePtrFromSetToSet()
|
inlinestatic |
A helper method to move a unique_ptr from a set to another.
- Template Parameters
-
template class
- Parameters
-
it iterator from pointer to the set in which the object is to pointer to the set to which the object should be moved
The documentation for this class was generated from the following file: