Skip to content

Commit 2da6e6a

Browse files
jensmaurertkoeppe
authored andcommitted
[facet.num.put.virtuals] Fix definition and use of 'loc' (#1861)
1 parent 7945291 commit 2da6e6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/locales.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,7 @@
28392839
Writes characters to the sequence \tcode{out},
28402840
formatting \tcode{val} as desired.
28412841
In the following description,
2842-
a local variable initialized with:
2842+
\tcode{loc} names a local variable initialized as
28432843
\begin{codeblock}
28442844
locale loc = str.getloc();
28452845
\end{codeblock}
@@ -2868,7 +2868,7 @@
28682868
determined by stage 1 to a
28692869
\tcode{charT}
28702870
using a conversion and values returned by members of
2871-
\tcode{use_facet<numpunct<charT>>(str.getloc())}
2871+
\tcode{use_facet<numpunct<charT>>(loc)}
28722872
\item
28732873
Stage 3:
28742874
Determine where padding is required.
@@ -2991,7 +2991,7 @@
29912991

29922992
A local variable \tcode{punct} is initialized via
29932993
\begin{codeblock}
2994-
const numpunct<charT>& punct = use_facet<numpunct<charT>>(str.getloc());
2994+
const numpunct<charT>& punct = use_facet<numpunct<charT>>(loc);
29952995
\end{codeblock}
29962996

29972997
For arithmetic types,

0 commit comments

Comments
 (0)