|
VLink
2.0.0
A high-performance communication middleware
|
Fallback shim when <memory_resource> is unavailable.
More...
Functions | |
| template<typename T , typename... Args> | |
| std::shared_ptr< T > | make_shared (Args &&... args) |
Fallback make_shared forwarding to std::make_shared. More... | |
| template<typename T , typename... Args> | |
| std::unique_ptr< T > | make_unique (Args &&... args) |
Fallback make_unique forwarding to std::make_unique. More... | |
Fallback shim when <memory_resource> is unavailable.
Only make_shared and make_unique are emulated by forwarding to the corresponding std versions. The MemoryResource class, the Deleter alias and global_instance are not provided in this mode.
| std::shared_ptr<T> vlink::MemoryResource::make_shared | ( | Args &&... | args | ) |
Fallback make_shared forwarding to std::make_shared.
| std::unique_ptr<T> vlink::MemoryResource::make_unique | ( | Args &&... | args | ) |
Fallback make_unique forwarding to std::make_unique.