|
Data Structures |
class | LDK::Allocator< T > |
| An (almost) standard compiliant, threadsafe STL allocator with an MSVC extension. More...
|
class | LDK::MallocAllocator< T > |
| An (almost) standard compiliant, threadsafe STL allocator with an MSVC extension. More...
|
Defines |
#define | LDK_CREATE0(Type) LDK::create<Type >(__FILE__,__LINE__) |
| create an object that takes no constructor arguments
|
#define | LDK_CREATE1(Type, c1) LDK::create<Type >(__FILE__,__LINE__,c1) |
| create an object that takes 1 constructor argument
|
#define | LDK_CREATE2(Type, c1, c2) LDK::create<Type >(__FILE__,__LINE__,c1,c2) |
| create an object that takes 2 constructor arguments
|
#define | LDK_CREATE3(Type, c1, c2, c3) LDK::create<Type >(__FILE__,__LINE__,c1,c2,c3) |
| create an object that takes 3 constructor arguments
|
#define | LDK_CREATE4(Type, c1, c2, c3, c4) LDK::create<Type >(__FILE__,__LINE__,c1,c2,c3,c4) |
| create an object that takes 4 constructor arguments
|
#define | LDK_CREATE5(Type, c1, c2, c3, c4, c5) LDK::create<Type >(__FILE__,__LINE__,c1,c2,c3,c4,c5) |
| create an object that takes 5 constructor arguments
|
#define | LDK_CREATE6(Type, c1, c2, c3, c4, c5, c6) |
| create an object that takes 6 constructor arguments
|
#define | LDK_CREATE7(Type, c1, c2, c3, c4, c5, c6, c7) |
| create an object that takes 7 constructor arguments
|
#define | LDK_CREATE8(Type, c1, c2, c3, c4, c5, c6, c7, c8) |
| create an object that takes 8 constructor arguments
|
#define | LDK_CREATE9(Type, c1, c2, c3, c4, c5, c6, c7, c8, c9) |
| create an object that takes 9 constructor arguments
|
#define | LDK_CREATE10(Type, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10) |
| create an object that takes 10 constructor arguments
|
#define | LDK_ALLOCATORS |
| Macro that expands to per-class replacement allocation operators that use the LDK system.
|
Functions |
template<class T> |
void | LDK::destroy (const T *o) |
| Calls an object's destructor and frees the memory.
|
WARNING: The only thread that may destroy an object is the thread that created it. This condition is asserted.