Skip to content

Commit 2b1867a

Browse files
committed
[version.syn] New feature test macro __cpp_lib_freestanding_numeric
This macro indicates that freestanding support for "saturation arithmetic" is available, which was added in motion LWG-2 (via P0543R3). This reverts the previous change 148e03a, which I had made subsequent to motion LWG-3 (P2407R5), on advice of LWG. A separate macro is preferable to mixing both headers under "algorithm".
1 parent 9041b27 commit 2b1867a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/support.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,7 @@
637637
#define @\defnlibxname{cpp_lib_format_uchar}@ 202311L // also in \libheader{format}
638638
#define @\defnlibxname{cpp_lib_formatters}@ 202302L // also in \libheader{stacktrace}, \libheader{thread}
639639
#define @\defnlibxname{cpp_lib_forward_like}@ 202207L // freestanding, also in \libheader{utility}
640-
#define @\defnlibxname{cpp_lib_freestanding_algorithm}@ 202311L
641-
// freestanding, also in \libheader{algorithm}, \libheader{numeric}
640+
#define @\defnlibxname{cpp_lib_freestanding_algorithm}@ 202311L // freestanding, also in \libheader{algorithm}
642641
#define @\defnlibxname{cpp_lib_freestanding_array}@ 202311L // freestanding, also in \libheader{array}
643642
#define @\defnlibxname{cpp_lib_freestanding_char_traits}@ 202306L // freestanding, also in \libheader{string}
644643
#define @\defnlibxname{cpp_lib_freestanding_charconv}@ 202306L // freestanding, also in \libheader{charconv}
@@ -653,6 +652,7 @@
653652
#define @\defnlibxname{cpp_lib_freestanding_iterator}@ 202306L // freestanding, also in \libheader{iterator}
654653
#define @\defnlibxname{cpp_lib_freestanding_mdspan}@ 202311L // freestanding, also in \libheader{mdspan}
655654
#define @\defnlibxname{cpp_lib_freestanding_memory}@ 202306L // freestanding, also in \libheader{memory}
655+
#define @\defnlibxname{cpp_lib_freestanding_numeric}@ 202311L // freestanding, also in \libheader{numeric}
656656
#define @\defnlibxname{cpp_lib_freestanding_operator_new}@ @\seebelow@ // freestanding, also in \libheader{new}
657657
#define @\defnlibxname{cpp_lib_freestanding_optional}@ 202311L // freestanding, also in \libheader{optional}
658658
#define @\defnlibxname{cpp_lib_freestanding_ranges}@ 202306L // freestanding, also in \libheader{ranges}

0 commit comments

Comments
 (0)