Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

scalable_allocator.h File Reference

Go to the source code of this file.

Namespaces

namespace  tbb

Classes

class  tbb::scalable_allocator< T >
 Meets "allocator" requirements of ISO C++ Standard, Section 20.1.5. More...
struct  tbb::scalable_allocator< T >::rebind< U >
class  tbb::scalable_allocator< void >
 Analogous to std::allocator<void>, as defined in ISO C++ Standard, Section 20.4.1. More...
struct  tbb::scalable_allocator< void >::rebind< U >

Functions

void *__TBB_EXPORTED_FUNC scalable_malloc (size_t size)
void __TBB_EXPORTED_FUNC scalable_free (void *ptr)
void *__TBB_EXPORTED_FUNC scalable_realloc (void *ptr, size_t size)
void *__TBB_EXPORTED_FUNC scalable_calloc (size_t nobj, size_t size)
template<typename T, typename U>
bool operator== (const scalable_allocator< T > &, const scalable_allocator< U > &)
template<typename T, typename U>
bool operator!= (const scalable_allocator< T > &, const scalable_allocator< U > &)


Detailed Description


Function Documentation

void* __TBB_EXPORTED_FUNC scalable_calloc size_t  nobj,
size_t  size
 

The "calloc" analogue complementing scalable_malloc.

void __TBB_EXPORTED_FUNC scalable_free void *  ptr  ) 
 

The "free" analogue to discard a previously allocated piece of memory.

void* __TBB_EXPORTED_FUNC scalable_malloc size_t  size  ) 
 

The "malloc" analogue to allocate block of memory of size bytes.

void* __TBB_EXPORTED_FUNC scalable_realloc void *  ptr,
size_t  size
 

The "realloc" analogue complementing scalable_malloc.


Copyright © 2005-2008 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.