NVIDIA Iray: Math API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Memory Management

The memory management provides an interface for allocators including a default implementation. More...

Classes

class   mi::base::Default_allocator
  A default allocator implementation based on global new and delete. More...
 
class   mi::base::IAllocator
  The IAllocator interface class supports allocating and releasing memory dynamically. More...
 
class   mi::base::Std_allocator< T >
  An adaptor class template that implements a standard STL allocator. More...
 

Detailed Description

The memory management provides an interface for allocators including a default implementation.

You can request dynamic memory from an allocator implementation through an mi::base::IAllocator interface. A default implementation based on global new and delete operators is mi::base::Default_allocator.

You can adapt an allocator to become a standard STL allocator using mi::base::Std_allocator.