Loading...
Searching...
No Matches
FastVector.h
Go to the documentation of this file.
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------------------------------------------------------------- */
#pragma once
#include <gtsam/base/FastDefaultAllocator.h>
#include <vector>
namespace gtsam {
template <typename T>
using FastVector =
std::vector<T, typename internal::FastDefaultVectorAllocator<T>::type>;
} // namespace gtsam
FastDefaultAllocator.h
An easy way to control which allocator is used for Fast* collections.
gtsam::FastVector
std::vector< T, typename internal::FastDefaultVectorAllocator< T >::type > FastVector
FastVector is a type alias to a std::vector with a custom memory allocator.
Definition FastVector.h:33
gtsam
Global functions in a separate testing namespace.
Definition chartTesting.h:28