-// public
-
-basic * fail::duplicate() const
-{
- debugmsg("fail duplicate",LOGLEVEL_DUPLICATE);
- return new fail(*this);
-}
-
-void fail::print(std::ostream & os, unsigned upper_precedence) const
-{
- debugmsg("fail print",LOGLEVEL_PRINT);
- os << "FAIL";
-}
-
-void fail::printraw(std::ostream & os) const
-{
- debugmsg("fail printraw",LOGLEVEL_PRINT);
- os << "FAIL";
-}
-
-// protected
-
-int fail::compare_same_type(const basic & other) const
-{
- // two fails are always identical
- return 0;
-}
-
-//////////
-// new virtual functions which can be overridden by derived classes
-//////////
-
-// none
-
-//////////
-// non-virtual functions in this class
-//////////
-
-// none
-
-//////////
-// static member variables
-//////////
-
-// none
-
-//////////
-// global constants
-//////////
-
-const fail some_fail;
-const type_info & typeid_fail=typeid(some_fail);