gtsam  4.0.0
gtsam
FastVector.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
20 #pragma once
21 
23 #include <vector>
24 
25 namespace gtsam {
26 
32 template <typename T>
33 using FastVector =
34  std::vector<T, typename internal::FastDefaultVectorAllocator<T>::type>;
35 
36 } // namespace gtsam
An easy way to control which allocator is used for Fast* collections.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28