Bullet Collision Detection & Physics Library: btAlignedObjectArray.h File Reference

Bullet Collision Detection & Physics Library

Classes | Macros
btAlignedObjectArray.h File Reference
`#include "btScalar.h"`
`#include "btAlignedAllocator.h"`
`#include <new>`
Include dependency graph for btAlignedObjectArray.h:

Go to the source code of this file.

## Classes
class | btAlignedObjectArray< T >
| The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It is developed to replace stl::vector to avoid portability issues, including STL alignment issues to add SIMD/SSE data. More...
class | btAlignedObjectArray< T >::less

## Macros
#define | BT_USE_PLACEMENT_NEW 1
| If the platform doesn't support placement new, you can disable BT_USE_PLACEMENT_NEW then the btAlignedObjectArray doesn't support objects with virtual methods, and non-trivial constructors/destructors You can enable BT_USE_MEMCPY, then swapping elements in the array will use memcpy instead of operator= see discussion here: https://bulletphysics.orgphpBB2/viewtopic.php?t=1231 and http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1240. More...
#define | BT_ALLOW_ARRAY_COPY_OPERATOR

## Macro Definition Documentation

## ◆ BT_ALLOW_ARRAY_COPY_OPERATOR

#define BT_ALLOW_ARRAY_COPY_OPERATOR

Definition at line 30 of file btAlignedObjectArray.h.

## ◆ BT_USE_PLACEMENT_NEW

#define BT_USE_PLACEMENT_NEW 1

If the platform doesn't support placement new, you can disable BT_USE_PLACEMENT_NEW then the btAlignedObjectArray doesn't support objects with virtual methods, and non-trivial constructors/destructors You can enable BT_USE_MEMCPY, then swapping elements in the array will use memcpy instead of operator= see discussion here: https://bulletphysics.orgphpBB2/viewtopic.php?t=1231 and http://www.continuousphysics.com/Bullet/phpBB2/viewtopic.php?t=1240.

Definition at line 28 of file btAlignedObjectArray.h.