Skip to content

Commit ebebd8d

Browse files
author
Hubert Tong
committed
Add name "high" to locale::narrow in [category.ctype]
In [locale.ctype.members], the returns clause for locale::narrow refers to "high". For correct binding, the corresponding parameter should be named as such.
1 parent 3137a4c commit ebebd8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/locales.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,7 +1564,7 @@
15641564
charT widen(char c) const;
15651565
const char* widen(const char* low, const char* high, charT* to) const;
15661566
char narrow(charT c, char dfault) const;
1567-
const charT* narrow(const charT* low, const charT*, char dfault,
1567+
const charT* narrow(const charT* low, const charT* high, char dfault,
15681568
char* to) const;
15691569

15701570
static locale::id id;
@@ -1704,7 +1704,7 @@
17041704
\indexlibrary{\idxcode{narrow}!\idxcode{ctype}}%
17051705
\begin{itemdecl}
17061706
char narrow(charT c, char dfault) const;
1707-
const charT* narrow(const charT* low, const charT*, char dfault,
1707+
const charT* narrow(const charT* low, const charT* high, char dfault,
17081708
char* to) const;
17091709
\end{itemdecl}
17101710

0 commit comments

Comments
 (0)