C++ Logo

liaison

Advanced search

[wg14/wg21 liaison] unreachable control flow

From: Jₑₙₛ Gustedt <jens.gustedt_at_[hidden]>
Date: Sun, 16 May 2021 12:12:47 +0200
Hello,
it seems that C++ has integrated

https://wg21.link/p0627

into C++20. This provides a pseudo-function `unreachable` where a call
indicates that the whole path in the control flow that reaches it can
never be taken.

Is there interest / attempt / opposition of porting this feature to C?

Thanks
Jₑₙₛ

-- 
:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

Received on 2021-05-16 05:12:58