Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
allocator.hpp File Reference
#include <thrill/mem/allocator_base.hpp>
#include <thrill/mem/manager.hpp>
#include <cassert>
#include <deque>
#include <iosfwd>
#include <memory>
#include <new>
#include <string>
#include <type_traits>
#include <vector>
+ Include dependency graph for allocator.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Allocator< Type >
 
struct  Allocator< Type >::rebind< U >
 Return allocator for different type. More...
 
class  Allocator< void >
 
struct  Allocator< void >::rebind< U >
 
class  Deleter< T >
 std::default_deleter with Manager tracking More...
 

Namespaces

 thrill
 
 thrill::mem
 

Macros

#define THRILL_MEM_ALLOCATOR_HEADER
 

Typedefs

template<typename T >
using deque = std::deque< T, Allocator< T > >
 deque with Manager tracking More...
 
using string = std::basic_string< char, std::char_traits< char >, Allocator< char > >
 string with Manager tracking More...
 
using stringbuf = std::basic_stringbuf< char, std::char_traits< char >, Allocator< char > >
 stringbuf with Manager tracking More...
 
template<typename T >
using unique_ptr = std::unique_ptr< T, Deleter< T > >
 unique_ptr with Manager tracking More...
 
template<typename T >
using vector = std::vector< T, Allocator< T > >
 vector with Manager tracking More...
 

Functions

template<typename T , typename... Args>
unique_ptr< Tmake_unique (Manager &manager, Args &&...args)
 make_unique with Manager tracking More...
 
template<typename T >
void mm_delete (Manager &manager, T *value)
 operator delete with our Allocator More...
 
template<typename T , typename... Args>
Tmm_new (Manager &manager, Args &&...args)
 operator new with our Allocator More...
 

Macro Definition Documentation

#define THRILL_MEM_ALLOCATOR_HEADER

Definition at line 13 of file allocator.hpp.