Thrill  0.1
Deleter< T > Class Template Reference

Detailed Description

template<typename T>
class thrill::mem::Deleter< T >

std::default_deleter with Manager tracking

Definition at line 188 of file allocator.hpp.

+ Collaboration diagram for Deleter< T >:

#include <allocator.hpp>

Public Member Functions

 Deleter (Manager &manager) noexcept
 constructor: need reference to Manager More...
void operator() (T *ptr) const noexcept
 free the pointer More...

Private Attributes

Allocator< Tallocator_
 reference to Manager for freeing. More...

Constructor & Destructor Documentation

◆ Deleter()

Deleter ( Manager manager)

constructor: need reference to Manager

Definition at line 192 of file allocator.hpp.

Member Function Documentation

◆ operator()()

void operator() ( T ptr) const

free the pointer

Definition at line 196 of file allocator.hpp.

Member Data Documentation

◆ allocator_

Allocator<T> allocator_

reference to Manager for freeing.

Definition at line 203 of file allocator.hpp.

The documentation for this class was generated from the following file: