foo.cc:26:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
friend Int operator/=(Int&, const Int&) throw(DividedByZeroException);
^~~~~
foo.cc:27:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
friend Int operator%=(Int&, const Int&) throw(DividedByZeroException);
^~~~~
foo.cc:31:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
friend Int operator/(const Int&, const Int&) throw(DividedByZeroException);
^~~~~
foo.cc:32:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
friend Int operator%(const Int&, const Int&) throw(DividedByZeroException);
^~~~~
foo.cc:255:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
Int operator/=(Int& op1, const Int& op2) throw(DividedByZeroException) {
^~~~~
foo.cc:283:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
Int operator%=(Int& op1, const Int& op2) throw(DividedByZeroException) {
^~~~~
foo.cc:302:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
Int operator/(const Int& op1, const Int& op2) throw(DividedByZeroException) {
^~~~~
foo.cc:307:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
Int operator%(const Int& op1, const Int& op2) throw(DividedByZeroException) {
^~~~~
[Hydro](https://hydro.ac)提供评测服务