Title
Missing feature macro for strict pointer safety
Status
c++11
Section
15.11 [cpp.predefined]
Submitter
GB

Created on 2010-08-03.00:00:00 last changed 123 months ago

Messages

Date: 2010-11-15.00:00:00

[Voted into the WP at the November, 2010 meeting.]

Date: 2010-08-15.00:00:00

Proposed resolution (August, 2010):

Add the following to the end of 15.11 [cpp.predefined] paragraph 2:

    __STDCPP_STRICT_POINTER_SAFETY__
      Defined, and has the value integer constant 1, if and only if the implementation has strict pointer safety (_N4885_6.7.5.5.4 [basic.stc.dynamic.safety]).
Date: 2018-02-27.00:00:00
N3092 comment DEĀ 13

The recommendations of document N2693 included a feature macro to enable a program to determine whether the implementation enforces strict pointer safety or not, but this macro is not specified in 15.11 [cpp.predefined].

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: dr -> fdis
2010-11-29 00:00:00adminsetmessages: + msg3210
2010-11-29 00:00:00adminsetstatus: ready -> dr
2010-08-23 00:00:00adminsetmessages: + msg2823
2010-08-03 00:00:00admincreate