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);
The StackAllocator class is designed to be used with the STL vector class.
pointer allocate(size_type num, const void *=0)
pointer address(reference value) const
size_type max_size() const
void construct(pointer p, const T &value)
void deallocate(pointer p, size_type num)
const_pointer address(const_reference value) const
const T & const_reference
std::ptrdiff_t difference_type
The agx namespace contains the dynamics/math part of the AGX Dynamics API.