P0188R0: Wording for [[fallthrough]] attribute -- Andrew Tomazos

New WG21 papers are available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.

Document number: P0188R0

Date: 2016-01-03

Wording for [[fallthrough]] attribute

by Andrew Tomazos


Wording for the [[fallthrough]] attribute described in P0068R0 is proposed for application to the C++17 working draft. [[fallthrough]] captures an intent to use the feature of “falling-through” from one case block to the next, in a switch statement. It has heavy use in existing practice. Kona EWG voted SF=15, F=5, N=0, A=0, SA=0 in favor of [[fallthrough]] from P0068R0. See P0068R0 for detailed motivation/rationale.

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.