Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 8 years ago

Language

Compiler

Options

Author

anonymous

about 8 years ago

$
prog.cc:12:59: warning: unused parameter 'rhs' [-Wunused-parameter]
  TestDataWithoutNoexcept(TestDataWithoutNoexcept const & rhs) {
                                                          ^
prog.cc:15:54: warning: unused parameter 'rhs' [-Wunused-parameter]
  TestDataWithoutNoexcept(TestDataWithoutNoexcept && rhs) {
                                                     ^
prog.cc:18:69: warning: unused parameter 'rhs' [-Wunused-parameter]
  TestDataWithoutNoexcept& operator=(TestDataWithoutNoexcept const& rhs) {
                                                                    ^
prog.cc:20:3: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
4 warnings generated.
terminating with unexpected exception of type std::runtime_error: NoExceptFunctionWithObj2 ex.

 See how dtors are called in noexcept or throw() functions
TestDataWithoutNoexcept
~TestDataWithoutNoexcept
Signal:
Aborted