Template Class CustomAllocator
Defined in File Allocator.hpp
Inheritance Relationships
Base Type
public nvcv::Allocator
(Class Allocator)
Class Documentation
-
template<typename ...ResourceAllocators>
class CustomAllocator : public nvcv::Allocator A helper clas for defining custom allocators.
This class aggregates custom resource allocators.
Note
Direct use of this class is recommended only in C++ 17 and newer. For older standards, use CreateCustomAllocator function insted.
- Template Parameters:
ResourceAllocators –
Public Functions
-
inline explicit CustomAllocator(ResourceAllocators&&... allocators)
-
inline ~CustomAllocator()