28 #ifndef CASA_FALLIBLE_H
29 #define CASA_FALLIBLE_H
49 void AccessInvalidFallibleObject();
142 operator T()
const {
if (!
isValid_p) AccessInvalidFallibleObject();
Fallible(const T &value)
Create a valid object.
Fallible()
The default constructor creates an invalid object.
Mark a value as valid or invalid.
bool Bool
Define the standard types used by Casacore.
Fallible(const Fallible< T > &other)
Fallible< T > & operator=(const Fallible< T > &other)
T value() const
Sometimes it's more convenient to not rely on a compiler supplied conversion, especially when the com...