23 #include <boost/utility/enable_if.hpp> 24 #include <boost/serialization/nvp.hpp> 25 #include <boost/serialization/version.hpp> 26 #include <boost/serialization/optional.hpp> 27 #include <boost/serialization/list.hpp> 39 template<
typename VALUE>
40 class FastList:
public std::list<VALUE, typename internal::FastDefaultAllocator<VALUE>::type> {
50 template<
typename INPUTITERATOR>
59 #ifdef GTSAM_ALLOCATOR_BOOSTPOOL 66 Base::assign(x.begin(), x.end());
71 operator std::list<VALUE>()
const {
72 return std::list<VALUE>(this->begin(), this->
end());
77 friend class boost::serialization::access;
78 template<
class ARCHIVE>
80 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
constexpr int last(int, int result)
void serialize(ARCHIVE &ar, const unsigned int)
constexpr int first(int i)
Implementation details for constexpr functions.
std::list< VALUE, typename internal::FastDefaultAllocator< VALUE >::type > Base
FastList(INPUTITERATOR first, INPUTITERATOR last)
FastList(const FastList< VALUE > &x)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
An easy way to control which allocator is used for Fast* collections.