Testable traits
parent
71231abf1b
commit
7e50b2d070
|
@ -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
|
// define Value::cast here since now GenericValue has been declared
|
||||||
template<typename ValueType>
|
template<typename ValueType>
|
||||||
const ValueType& Value::cast() const {
|
const ValueType& Value::cast() const {
|
||||||
|
|
Loading…
Reference in New Issue