#include <FastList.h>
Public Types | |
typedef std::list< VALUE, typename internal::FastDefaultAllocator< VALUE >::type > | Base |
Public Member Functions | |
FastList () | |
FastList (const Base &x) | |
FastList (const FastList< VALUE > &x) | |
template<typename INPUTITERATOR > | |
FastList (INPUTITERATOR first, INPUTITERATOR last) | |
FastList (std::initializer_list< VALUE > l) | |
Construct from c++11 initializer list: More... | |
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.
Definition at line 43 of file FastList.h.
typedef std::list<VALUE, typename internal::FastDefaultAllocator<VALUE>::type> gtsam::FastList< VALUE >::Base |
Definition at line 47 of file FastList.h.
|
inline |
Default constructor
Definition at line 50 of file FastList.h.
|
inlineexplicit |
Constructor from a range, passes through to base class
Definition at line 54 of file FastList.h.
|
inline |
Copy constructor from another FastList
Definition at line 57 of file FastList.h.
|
inline |
Copy constructor from the base list class
Definition at line 60 of file FastList.h.
|
inline |
Construct from c++11 initializer list:
Definition at line 63 of file FastList.h.
|
inline |
Conversion to a standard STL container
Definition at line 77 of file FastList.h.