CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Namespaces | |
catapult | |
catapult::utils | |
Functions | |
template<typename T > | |
std::unique_ptr< T > | catapult::utils::MakeUniqueWithSize (size_t size) |
Creates a unique pointer of the specified type with custom size. More... | |
template<typename T > | |
std::shared_ptr< T > | catapult::utils::MakeSharedWithSize (size_t size) |
Creates a shared pointer of the specified type with custom size. More... | |
template<typename T > | |
std::shared_ptr< T > | catapult::utils::UniqueToShared (std::unique_ptr< T > &&pointer) |
Converts a unique pointer to a shared pointer of the same type. More... | |