Template Class CustomAllocator

Inheritance Relationships

Base Type

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()