52 template<
class Err>
Ostream& operator<<(Ostream&, errorManip<Err>);
55 template<
class Err,
class T>
56 Ostream& operator<<(Ostream&, errorManipArg<Err, T>);
82 inline Ostream& operator<<(Ostream& os, errorManip<Err> m)
94 template<
class Err,
class T>
97 void (Err::*fPtr_)(
const T);
114 template<
class Err,
class T>
115 inline Ostream& operator<<(Ostream& os, errorManipArg<Err, T> m)
117 (m.err_.*m.fPtr_)(m.arg_);
errorManipArg< error, int > exit(error &err, const int errNo=1)
void abort()
Abort : used to stop code for fatal errors.
errorManip(void(Err::*fPtr)(), Err &t)
void exit(const int errNo=1)
Exit : can be called for any error to exit program.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
void abort()
Abort : used to stop code for fatal errors.
errorManip< error > abort(error &err)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void exit(const int errNo=1)
Exit : can be called for any error to exit program.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Error stream manipulators for exit and abort which may terminate the program or throw an exception de...