Skip to content

[views.span] Add \exposid for span's data_ and size_ #5918

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

Merged
merged 1 commit into from
Nov 8, 2022
Merged
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
20 changes: 10 additions & 10 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17586,8 +17586,8 @@
constexpr const_reverse_iterator crend() const noexcept { return rend(); }

private:
pointer data_; // \expos
size_type size_; // \expos
pointer @\exposid{data_}@; // \expos
size_type @\exposid{size_}@; // \expos
};

template<class It, class EndOrSize>
Expand Down Expand Up @@ -17660,8 +17660,8 @@

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

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

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

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

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

\pnum
\throws
Expand Down Expand Up @@ -18020,7 +18020,7 @@
\begin{itemdescr}
\pnum
\effects
Equivalent to: \tcode{return size_;}
Equivalent to: \tcode{return \exposid{size_};}
\end{itemdescr}

\indexlibrarymember{span}{size_bytes}%
Expand Down Expand Up @@ -18100,7 +18100,7 @@
\begin{itemdescr}
\pnum
\effects
Equivalent to: \tcode{return data_;}
Equivalent to: \tcode{return \exposid{data_};}
\end{itemdescr}

\rSec3[span.iterators]{Iterator support}
Expand Down