Re: C++ PATCH for c++/87603 - constexpr functions are no longer noexcept

2019-04-12 Thread Jason Merrill
On 4/11/19 5:36 PM, Marek Polacek wrote: This patch deals with constexpr functions and whether or not they should be noexcept. CWG 1129 specified that constexpr functions are noexcept: it was a special case in [expr.unary.noexcept]. This was accidentally removed in but the CWG conclusion was t

Re: C++ PATCH for c++/87603 - constexpr functions are no longer noexcept

2019-04-11 Thread Jonathan Wakely
On 11/04/19 17:36 -0400, Marek Polacek wrote: This patch deals with constexpr functions and whether or not they should be noexcept. CWG 1129 specified that constexpr functions are noexcept: it was a special case in [expr.unary.noexcept]. This was accidentally removed in but the CWG conclusion

C++ PATCH for c++/87603 - constexpr functions are no longer noexcept

2019-04-11 Thread Marek Polacek
This patch deals with constexpr functions and whether or not they should be noexcept. CWG 1129 specified that constexpr functions are noexcept: it was a special case in [expr.unary.noexcept]. This was accidentally removed in but the CWG conclusion was to keep it as-is. Clearly we need to change