wrap push_back and at for FastVector (hence, KeyVector)

release/4.3a0
Duy-Nguyen Ta 2016-11-14 00:11:04 -05:00
parent d38c51b533
commit 7e348a8204
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ typedef size_t Key;
template<T> class FastVector {
FastVector();
FastVector(const This& f);
void push_back(const T& e);
//T& operator[](int);
T at(int i);
};
typedef gtsam::FastVector<gtsam::Key> KeyVector;