codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <exception> #include <stdexcept> #include <cassert> #include <cstring> int main() { using namespace std; exception lhs; bad_exception rhs; lhs = rhs; assert( strcmp(lhs.what(), rhs.what()) == 0 ); }
Private
[
?
]
Run code
Submit