Re: Possible mapping of exceptions
Dear Dmitry
> On 12 Jan 2017, at 17:48, Dmitry Nadezhin <dmitry.nadezhin@xxxxxxxxxx> wrote:
> Is this a correct interpretation of 12.1.3 ?
> Is this mechanism conforming ?
I'm not sure what sort of answer you want. As it says "language- or implementation-defined" could you not write
> ...
> case EXC_UNDEFINED_OPERATION:
> <handle exception>;
> play "Jingle bells" and charge the user's account 1 Euro
> break;
> ...
and it would still be conforming? I'm not knowledgeable in C++ but what you write looks like "do something, which probably depends on which exception was raised", so: yes, that looks OK.
John Pryce