Skip to content

Commit 0a9cfa5

Browse files
committed
Merge 2022-07 LWG Motion 15
2 parents 1cb566e + 240dba4 commit 0a9cfa5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

source/support.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@
591591
#define @\defnlibxname{cpp_lib_complex_udls}@ 201309L // also in \libheader{complex}
592592
#define @\defnlibxname{cpp_lib_concepts}@ 202002L // also in \libheader{concepts}
593593
#define @\defnlibxname{cpp_lib_constexpr_algorithms}@ 201806L // also in \libheader{algorithm}
594+
#define @\defnlibxname{cpp_lib_constexpr_charconv}@ 202207L // also in \libheader{charconv}
594595
#define @\defnlibxname{cpp_lib_constexpr_cmath}@ 202202L // also in \libheader{cmath}, \libheader{cstdlib}
595596
#define @\defnlibxname{cpp_lib_constexpr_complex}@ 201711L // also in \libheader{complex}
596597
#define @\defnlibxname{cpp_lib_constexpr_dynamic_alloc}@ 201907L // also in \libheader{memory}

source/utilities.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13401,7 +13401,7 @@
1340113401
friend bool operator==(const to_chars_result&, const to_chars_result&) = default;
1340213402
};
1340313403

13404-
to_chars_result to_chars(char* first, char* last, @\placeholder{integer-type}@ value, int base = 10);
13404+
constexpr to_chars_result to_chars(char* first, char* last, @\placeholder{integer-type}@ value, int base = 10);
1340513405
to_chars_result to_chars(char* first, char* last, bool value, int base = 10) = delete;
1340613406

1340713407
to_chars_result to_chars(char* first, char* last, @\placeholder{floating-point-type}@ value);
@@ -13420,8 +13420,8 @@
1342013420
friend bool operator==(const from_chars_result&, const from_chars_result&) = default;
1342113421
};
1342213422

13423-
from_chars_result from_chars(const char* first, const char* last,
13424-
@\placeholder{integer-type}@& value, int base = 10);
13423+
constexpr from_chars_result from_chars(const char* first, const char* last,
13424+
@\placeholder{integer-type}@& value, int base = 10);
1342513425

1342613426
from_chars_result from_chars(const char* first, const char* last, @\placeholder{floating-point-type}@& value,
1342713427
chars_format fmt = chars_format::general);
@@ -13490,7 +13490,7 @@
1349013490

1349113491
\indexlibraryglobal{to_chars}%
1349213492
\begin{itemdecl}
13493-
to_chars_result to_chars(char* first, char* last, @\placeholder{integer-type}@ value, int base = 10);
13493+
constexpr to_chars_result to_chars(char* first, char* last, @\placeholder{integer-type}@ value, int base = 10);
1349413494
\end{itemdecl}
1349513495

1349613496
\begin{itemdescr}
@@ -13621,8 +13621,8 @@
1362113621

1362213622
\indexlibraryglobal{from_chars}%
1362313623
\begin{itemdecl}
13624-
from_chars_result from_chars(const char* first, const char* last,
13625-
@\placeholder{integer-type}@&@\itcorr[-1]@ value, int base = 10);
13624+
constexpr from_chars_result from_chars(const char* first, const char* last,
13625+
@\placeholder{integer-type}@&@\itcorr[-1]@ value, int base = 10);
1362613626
\end{itemdecl}
1362713627

1362813628
\begin{itemdescr}

0 commit comments

Comments
 (0)