A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/CWG/issues/2163.html below:

CWG Issue 2163

This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-08-11

2163. Labels in constexpr functionsSection: 9.2.6  [dcl.constexpr]     Status: CD4     Submitter: Richard Smith     Date: 2015-07-24

[Adopted at the February, 2016 meeting.]

The requirements for constexpr functions do not, but presumably should, forbid the appearance of a label in the function body (gotos are prohibited).

Proposed resolution (January, 2016):

Add the following as an additional bullet following 9.2.6 [dcl.constexpr] bullet 3.5.2:

The definition of a constexpr function shall satisfy the following requirements:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4