2.2 KiB
2.2 KiB
[gram.except]
Annex A (informative) Grammar summary [gram]
A.12 Exception handling [gram.except]
try-block:
try compound-statement handler-seq
function-try-block:
try ctor-initializeropt compound-statement handler-seq
handler-seq:
handler handler-seqopt
handler:
catch ( exception-declaration ) compound-statement
exception-declaration:
attribute-specifier-seqopt type-specifier-seq declarator
attribute-specifier-seqopt type-specifier-seq abstract-declaratoropt
...
noexcept-specifier:
noexcept ( constant-expression )
noexcept