8 #ifndef WIBBLE_FALLBACK_H 9 #define WIBBLE_FALLBACK_H 15 template<
typename T >
21 template<
typename E >
const T &
get(
const E &e ) {
22 if ( !value )
throw e;
Fallback(const T &v)
Definition: fallback.h:18
Fallback(Error=Error())
Definition: fallback.h:19
Definition: fallback.h:16
const T * value
Definition: fallback.h:17
Exception thrown when some consistency check fails.
Definition: exception.h:254
Definition: fallback.h:13