Movatterモバイル変換


[0]ホーム

URL:



This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofC++23 status.

3621. Remove feature-test macro__cpp_lib_monadic_optional

Section: 17.3.2[version.syn]Status:C++23Submitter: Jens MaurerOpened: 2021-10-18Last modified: 2023-11-22

Priority:Not Prioritized

View otheractive issues in [version.syn].

View all otherissues in [version.syn].

View all issues withC++23 status.

Discussion:

P0798R8 "Monadic operations forstd::optional"created a new feature-test macro__cpp_lib_monadic_optionalfor a relatively minor enhancement.

We should instead increment the value of the existingfeature-test macro__cpp_lib_optional.

[2022-01-29; Reflector poll]

Set status to Tentatively Ready after eight votes in favour during reflector poll.

[2022-02-10 Approved at February 2022 virtual plenary. Status changed: Tentatively Ready → WP.]

Proposed resolution:

This wording is relative toN4901.

  1. Modify 17.3.2[version.syn] as indicated:

    […]#define __cpp_lib_monadic_optional 202110L// also in <optional>[…]#define __cpp_lib_optional202106L202110L// also in <optional>[…]

[8]ページ先頭

©2009-2026 Movatter.jp