以下代码会生成"Looser throw specifier error"错误。你能帮我解决这个错误吗?
class base
{
virtual void abc() throw (exp1);
}
void base::abc() throw (exp1)
{
......
}
class sub : public base
{
void abc() throw(exp1, exp2);
}
void sub::abc() throw (exp1, exp2)
{
.....
}
终止
(15.4/9),自从n3225以来有改变吗? - Steve Jessop