finally match NewMore.cp
This commit is contained in:
parent
1853ee6391
commit
89446989e9
1 changed files with 8 additions and 6 deletions
|
|
@ -2,12 +2,14 @@
|
|||
|
||||
namespace std {
|
||||
class exception {
|
||||
public:
|
||||
virtual ~exception();
|
||||
virtual const char *what() const {
|
||||
return "exception";
|
||||
}
|
||||
public:
|
||||
virtual ~exception();
|
||||
virtual const char *what() const;
|
||||
};
|
||||
}
|
||||
|
||||
std::exception::~exception() {}
|
||||
const char *std::exception::what() const {
|
||||
return "exception";
|
||||
};
|
||||
|
||||
std::exception::~exception() {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue