2 // Inclusion of standard header file
7 // Inclusion of local header file
9 #include "fatal_error.hpp"
10 #include "islibfunc.hpp"
15 // Definition of constructor
17 fatal_error::fatal_error
35 assert_ ( message__, "islib::fatal_error::fatal_error: `message__' has failed." );
51 // Definition of constructor
53 fatal_error::fatal_error
55 this_type const &the_other
61 message ( the_other.message )
66 // Definition of destructor
68 fatal_error::~fatal_error
78 // Definition of operator
80 fatal_error::this_type &
81 fatal_error::operator =
83 this_type const &right_value
89 this_type temporary ( right_value );
91 this->swap ( temporary );
97 // Definition of method
108 char const *message_ = 0;
115 char const * const &message___
117 message__ ( message___ )
128 assert_ ( this->message__, "islib::fatal_error::what: `this->message' has failed." );
132 char const * const &message__;
136 message_ = this->message;
142 // Definition of method
153 std::swap ( this->message, the_other.message );