Title
__cpp_lib_nothrow_convertible should be __cpp_lib_is_nothrow_convertible
Status
c++20
Section
[version.syn]
Submitter
Barry Revzin

Created on 2019-12-09.00:00:00 last changed 45 months ago

Messages

Date: 2019-12-21.14:08:27

Proposed resolution:

This wording is relative to N4842.

  1. Modify [version.syn], header <version> synopsis, as indicated:

    […]
    #define __cpp_lib_not_fn                 201603L  // also in <functional>
    #define __cpp_lib_is_nothrow_convertible 201806L  // also in <type_traits>
    #define __cpp_lib_null_iterators         201304L  // also in <iterator>
    […]
    
Date: 2019-12-21.00:00:00

[ 2019-12-21 Issue Prioritization ]

Status to Tentatively Ready and priority to 0 after seven positive votes on the reflector. A convincing argument was that currently no vendor had published a release with the previous feature macro.

Date: 2019-12-09.00:00:00

P1902R1 introduced the feature test macro __cpp_lib_nothrow_convertible, but every other example in SD-6 of a feature test macro testing for the presence of a single type trait FOO is named __cpp_lib_FOO. This macro should be renamed __cpp_lib_is_nothrow_convertible.

This naming convention should probably be documented in SD-6 as policy.

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2020-02-24 16:02:59adminsetstatus: voting -> wp
2020-01-17 04:54:50adminsetstatus: ready -> voting
2019-12-21 14:08:27adminsetmessages: + msg10895
2019-12-21 14:08:27adminsetstatus: new -> ready
2019-12-11 19:31:14adminsetmessages: + msg10880
2019-12-09 00:00:00admincreate