|
| uintptr_t | Foundation::Core::AlignUp (uintptr_t value, uintptr_t alignment) |
| |
| uintptr_t | Foundation::Core::AlignDown (uintptr_t value, uintptr_t alignment) |
| |
| template<typename Base , typename Derived , typename ... Args> |
| Base * | Foundation::Core::ConstructBase (Allocator *resource, Args &&...args) |
| | Placement new helper for constructing an object of type Derived (which can be a subclass of Base) using a Foundation::Core::Allocator.
|
| |
| template<typename T , typename ... Args> |
| T * | Foundation::Core::Construct (Allocator *resource, Args &&...args) |
| | Convenience placement new with object of type T using a Foundation::Core::Allocator.
|
| |
| template<typename T > |
| void | Foundation::Core::Destruct (Allocator *resource, T *obj) |
| | Convenience destructor for objects allocated with Construct or ConstructBase.
|
| |
| template<typename Base , typename Derived , typename ... Args> |
| UniquePtr< Base > | Foundation::Core::ConstructUniqueBase (Allocator *resource, Args &&...args) |
| | Helper function for constructing a pinned resource with a Foundation::Core::Allocator.
|
| |
| template<typename T , typename ... Args> |
| UniquePtr< T > | Foundation::Core::ConstructUnique (Allocator *resource, Args &&...args) |
| | Convenience wrapper for calling ConstructUniqueBase when Base and Derived are the same type.
|
| |
| template<typename Base , typename Derived , typename ... Args> |
| SharedPtr< Base > | Foundation::Core::ConstructSharedBase (Allocator *resource, Args &&...args) |
| | Helper function for constructing a ref-counted resource with a Foundation::Core::Allocator.
|
| |
| template<typename T , typename ... Args> |
| SharedPtr< T > | Foundation::Core::ConstructShared (Allocator *resource, Args &&...args) |
| | Convenience wrapper for calling ConstructSharedBase when Base and Derived are the same type.
|
| |