C++ Logo

std-proposals

Advanced search

Re: [std-proposals] std::terminate_compilation

From: Pavel Vazharov <freakpv_at_[hidden]>
Date: Fri, 19 May 2023 13:29:02 +0300
> if constexpr ( .... ) { . . . }
> else if constexpr ( ... ) { . . . }
> else
> {
> std::terminate_compilation();
> }

I think this proposal covers the above case
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2593r0.html

Received on 2023-05-19 10:29:16