Added typedef for const shared_ptr
parent
da70164987
commit
13ce0e59f0
|
@ -84,6 +84,9 @@ namespace gtsam {
|
||||||
/// A shared_ptr to this class
|
/// A shared_ptr to this class
|
||||||
typedef boost::shared_ptr<Values> shared_ptr;
|
typedef boost::shared_ptr<Values> shared_ptr;
|
||||||
|
|
||||||
|
/// A const shared_ptr to this class
|
||||||
|
typedef boost::shared_ptr<const Values> const_shared_ptr;
|
||||||
|
|
||||||
/// A key-value pair, which you get by dereferencing iterators
|
/// A key-value pair, which you get by dereferencing iterators
|
||||||
struct KeyValuePair {
|
struct KeyValuePair {
|
||||||
const Key key; ///< The key
|
const Key key; ///< The key
|
||||||
|
|
Loading…
Reference in New Issue