Skip to content
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

P1754R1 Rename concepts to standard_case for C++20 #3099

Closed
wants to merge 10 commits into from
1,590 changes: 798 additions & 792 deletions source/algorithms.tex

Large diffs are not rendered by default.

446 changes: 224 additions & 222 deletions source/concepts.tex

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions source/containers.tex
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
whose member types \tcode{iterator} and \tcode{const_iterator}
meet the
\oldconcept{RandomAccessIterator} requirements\iref{random.access.iterators} and
model \libconcept{ContiguousIterator}\iref{iterator.concept.contiguous}.
model \libconcept{contiguous_iterator}\iref{iterator.concept.contiguous}.

\pnum
\tref{container.opt} lists operations that are provided
Expand Down Expand Up @@ -10967,7 +10967,7 @@
\begin{itemdescr}
\pnum
The types
model \libconcept{ContiguousIterator}\iref{iterator.concept.contiguous},
model \libconcept{contiguous_iterator}\iref{iterator.concept.contiguous},
meet the \oldconcept{RandomAccessIterator}
requirements\iref{random.access.iterators},
and
Expand Down
4 changes: 2 additions & 2 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4934,7 +4934,7 @@

\begin{example}
\begin{codeblock}
void mergeable(int x) {
void can_merge(int x) {
// These allocations are safe for merging:
std::unique_ptr<char[]> a{new (std::nothrow) char[8]};
std::unique_ptr<char[]> b{new (std::nothrow) char[8]};
Expand All @@ -4943,7 +4943,7 @@
g(a.get(), b.get(), c.get());
}

void unmergeable(int x) {
void cannot_merge(int x) {
std::unique_ptr<char[]> a{new char[8]};
try {
// Merging this allocation would change its catch handler.
Expand Down