Skip to content

[span.cons][range.slide.iterator][text.encoding.members] Simplify \tcode{\exposid{name}} to \exposid{name} #6406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18389,8 +18389,8 @@

\pnum
\effects
Initializes \tcode{\exposid{data_}} with \tcode{to_address(first)} and
\tcode{\exposid{size_}} with \tcode{count}.
Initializes \exposid{data_} with \tcode{to_address(first)} and
\exposid{size_} with \tcode{count}.

\pnum
\throws
Expand Down Expand Up @@ -18432,8 +18432,8 @@

\pnum
\effects
Initializes \tcode{\exposid{data_}} with \tcode{to_address(first)} and
\tcode{\exposid{size_}} with \tcode{last - first}.
Initializes \exposid{data_} with \tcode{to_address(first)} and
\exposid{size_} with \tcode{last - first}.

\pnum
\throws
Expand Down Expand Up @@ -18510,8 +18510,8 @@

\pnum
\effects
Initializes \tcode{\exposid{data_}} with \tcode{ranges::data(r)} and
\tcode{\exposid{size_}} with \tcode{ranges::size(r)}.
Initializes \exposid{data_} with \tcode{ranges::data(r)} and
\exposid{size_} with \tcode{ranges::size(r)}.

\pnum
\throws
Expand Down
6 changes: 3 additions & 3 deletions source/locales.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4855,7 +4855,7 @@
\begin{itemdescr}
\pnum
\returns
\tcode{\exposid{mib_}}.
\exposid{mib_}.
\end{itemdescr}

\indexlibrarymember{name}{text_encoding}%
Expand All @@ -4866,15 +4866,15 @@
\begin{itemdescr}
\pnum
\returns
\tcode{\exposid{name_}} if \tcode{(\exposid{name_}[0] != '\textbackslash 0')}
\exposid{name_} if \tcode{(\exposid{name_}[0] != '\textbackslash 0')}
is \tcode{true}, and
\keyword{nullptr} otherwise.

\pnum
\remarks
If \tcode{name() == nullptr} is \tcode{false},
\tcode{name()} is an \ntbs{} and
accessing elements of \tcode{\exposid{name_}}
accessing elements of \exposid{name_}
outside of the range \countedrange{name()}{strlen(name()) + 1}
is undefined behavior.
\end{itemdescr}
Expand Down
2 changes: 1 addition & 1 deletion source/ranges.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13529,7 +13529,7 @@
using @\exposid{Base}@ = @\exposid{maybe-const}@<Const, V>; // \expos
iterator_t<@\exposid{Base}@> @\exposid{current_}@ = iterator_t<@\exposid{Base}@>(); // \expos
iterator_t<@\exposid{Base}@> @\exposid{last_ele_}@ = iterator_t<@\exposid{Base}@>(); // \expos,
// present only if \tcode{\exposid{Base}} models \tcode{\exposconcept{slide-caches-first}}
// present only if \exposid{Base} models \exposconcept{slide-caches-first}
range_difference_t<@\exposid{Base}@> @\exposid{n_}@ = 0; // \expos

constexpr @\exposid{iterator}@(iterator_t<@\exposid{Base}@> current, range_difference_t<@\exposid{Base}@> n) // \expos
Expand Down