Title
Inline function parameters
Status
c++20
Section
9.2.8 [dcl.inline]
Submitter
Kristian Stasiowski

Created on 2019-11-04.00:00:00 last changed 40 months ago

Messages

Date: 2019-11-15.00:00:00

Proposed resolution (November, 2019):

Change 9.2.8 [dcl.inline] paragraph 5 as follows:

The inline specifier shall not appear on a block scope declaration.87 or on the declaration of a function parameter.
Date: 2019-11-15.00:00:00

[Accepted as a DR at the November, 2019 meeting.]

According to 9.2.8 [dcl.inline] paragraph 5,

The inline specifier shall not appear on a block scope declaration.

Function parameters, however, are not block scope declarations, but they should also not be declared inline.

History
Date User Action Args
2020-12-15 00:00:00adminsetmessages: + msg6454
2019-11-04 00:00:00admincreate