Testable traits

release/4.3a0
Frank Dellaert 2015-07-11 13:22:52 -07:00
parent 71231abf1b
commit 7e50b2d070
1 changed files with 5 additions and 0 deletions

View File

@ -194,6 +194,11 @@ public:
};
// traits
template <typename ValueType>
struct traits<GenericValue<ValueType> >
: public Testable<GenericValue<ValueType> > {};
// define Value::cast here since now GenericValue has been declared
template<typename ValueType>
const ValueType& Value::cast() const {