#include <cstddef>
#include <memory>
#include <utility>
Go to the source code of this file.
|
template<typename T , typename... Args> |
IntrusiveSharedPtr< T > | sleipnir::MakeIntrusiveShared (Args &&... args) |
| Constructs an object of type T and wraps it in an intrusive shared pointer using args as the parameter list for the constructor of T.
|
|
template<typename T , typename Alloc , typename... Args> |
IntrusiveSharedPtr< T > | sleipnir::AllocateIntrusiveShared (Alloc alloc, Args &&... args) |
| Constructs an object of type T and wraps it in an intrusive shared pointer using alloc as the storage allocator of T and args as the parameter list for the constructor of T.
|
|