-#include "ginac.h"
-
-//////////
-// default constructor, destructor, copy constructor assignment operator and helpers
-//////////
-
-// public
-
-fail::fail() : basic(TINFO_FAIL)
-{
- debugmsg("fail default constructor",LOGLEVEL_CONSTRUCT);
-}
-
-fail::~fail()
-{
- debugmsg("fail destructor",LOGLEVEL_DESTRUCT);
- destroy(0);
-}
-
-fail::fail(fail const & other)
-{
- debugmsg("fail copy constructor",LOGLEVEL_CONSTRUCT);
- copy(other);
-}
-
-fail const & fail::operator=(fail const & other)
-{
- debugmsg("fail operator=",LOGLEVEL_ASSIGNMENT);
- if (this != &other) {
- destroy(1);
- copy(other);
- }
- return *this;
-}
-
-// protected
-
-void fail::copy(fail const & other)
-{
- basic::copy(other);
-}
-
-void fail::destroy(bool call_parent)
-{
- if (call_parent) basic::destroy(call_parent);
-}