 |
AGX Dynamics
2.38.0.2
|
Go to the documentation of this file.
18 #ifndef AGX_STACK_ALLOCATOR_H
19 #define AGX_STACK_ALLOCATOR_H
21 #ifndef SWIG_CPPWRAPPER_BUILD
53 template <
class T,
int N >
97 new((
void*)p)T(value);
112 #endif // SWIG_CPPWRAPPER_BUILD
const typedef T * const_pointer
void deallocate(pointer p, size_type num)
The StackAllocator class is designed to be used with the STL vector class.
std::ptrdiff_t difference_type
size_type max_size() const
void construct(pointer p, const T &value)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
pointer address(reference value) const
const typedef T & const_reference
pointer allocate(size_type num, const void *=0)
const_pointer address(const_reference value) const