Title
Replacement allocation functions declared as inline
Status
c++17
Section
[replacement.functions]
Submitter
David Majnemer

Created on 2013-10-20.00:00:00 last changed 89 months ago

Messages

Date: 2014-03-03.13:52:20

Proposed resolution:

This wording is relative to N3797.

  1. Modify [replacement.functions]/3 as indicated:

    -3- The program's definitions are used instead of the default versions supplied by the implementation (18.6). Such replacement occurs prior to program startup (3.2, 3.6). The program's definitionsdeclarations shall not be specified as inline. No diagnostic is required.

Date: 2014-02-15.00:00:00

[ 2014-02-15 Issaquah : Move to Ready ]

Date: 2013-10-20.00:00:00

N3290 [replacement.functions]/p3 says:

The program's definitions shall not be specified as inline.

This seems to permit declarations of replacement allocation functions that are specified as inline so long as they aren't used. This behavior seems more like a bug than a feature, I propose that we do the following:

The program's definitionsdeclarations shall not be specified as inline.

History
Date User Action Args
2017-07-30 20:15:43adminsetstatus: wp -> c++17
2014-11-08 19:44:42adminsetstatus: voting -> wp
2014-11-04 10:26:50adminsetstatus: ready -> voting
2014-03-03 13:52:20adminsetmessages: + msg6898
2014-03-03 13:52:20adminsetstatus: new -> ready
2013-10-20 20:43:08adminsetmessages: + msg6758
2013-10-20 00:00:00admincreate