✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
struct B {};
struct C {};
struct D {};
struct E {};
struct F {};
int main ()
{
try
{
foo ();
}
catch (const A & a) {}
catch (static const B *) {}
catch (C c) {}
catch (volatile D * d) {}
catch (virtual E * e) {}
catch (F * &) {}
catch (...)
{
return 5;
}
return 0;
}
]]> Обробники винятків якого типу записані неправильно?
(C++)