Date: Wed, 25 Sep 2019 11:08:26 +0100
On Mon, 23 Sep 2019 at 23:06, Walt Karas via Std-Proposals <
std-proposals_at_[hidden]> wrote:
> That is:
>
> extern noexcept
> {
> // stuff
> }
>
> All functions (including member functions) declared within the braces
> default to noexcept unless explicitly overridden with noexecpt(<false value
> expr>).
>
IIRC, SG14 explored similar option a few years ago while brainstorming ways
to solve the exception schism. If you look at discussion from 2015/2016 you
may find something. Patrice Roi spoke on the topic at CppCon 2016.
>
> (Side question: shouldn't the Standard require a diagnostic if a noexcept
> function calls noexcept(false) functions on some codepath?)
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
std-proposals_at_[hidden]> wrote:
> That is:
>
> extern noexcept
> {
> // stuff
> }
>
> All functions (including member functions) declared within the braces
> default to noexcept unless explicitly overridden with noexecpt(<false value
> expr>).
>
IIRC, SG14 explored similar option a few years ago while brainstorming ways
to solve the exception schism. If you look at discussion from 2015/2016 you
may find something. Patrice Roi spoke on the topic at CppCon 2016.
>
> (Side question: shouldn't the Standard require a diagnostic if a noexcept
> function calls noexcept(false) functions on some codepath?)
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2019-09-25 05:10:47