|
GTSAM
4.0.2
C++ library for smoothing and mapping (SAM)
|
#include <FastList.h>


Public Types | |
| typedef std::list< VALUE, typename internal::FastDefaultAllocator< VALUE >::type > | Base |
Public Member Functions | |
| FastList () | |
| template<typename INPUTITERATOR > | |
| FastList (INPUTITERATOR first, INPUTITERATOR last) | |
| FastList (const FastList< VALUE > &x) | |
| FastList (const Base &x) | |
| FastList (std::initializer_list< VALUE > l) | |
| Construct from c++11 initializer list: | |
| operator std::list< VALUE > () const | |
FastList is a thin wrapper around std::list that uses the boost fast_pool_allocator instead of the default STL allocator. This is just a convenience to avoid having lengthy types in the code. Through timing, we've seen that the fast_pool_allocator can lead to speedups of several percent.
|
inline |
Default constructor
|
inlineexplicit |
Constructor from a range, passes through to base class
|
inline |
Copy constructor from another FastList
|
inline |
Copy constructor from the base list class
|
inline |
Conversion to a standard STL container
1.8.13