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