Skip to content

Commit

Permalink
Patched #297 (#333)
Browse files Browse the repository at this point in the history
Annex C is not normative, so this change is editorial.
  • Loading branch information
cjdb authored and CaseyCarter committed Feb 18, 2017
1 parent 1836ccc commit 9ad5341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
code. Also, it makes the implementation of some types of iterators more complicated. Any iterator
that has members that are not default constructible (e.g., an iterator that contains a lambda that
has captured by reference) must take special steps to provide default-constructibility (e.g.,
by wrapping non-default-constructible types in \tcode{std::optional}). This can weaken class
invariants.
by wrapping non-default-constructible types in something like \tcode{std::optional}, as specified
in the \Cpp17 Working Draft N4618 \S20.6). This can weaken class invariants.

\pnum
The guarantee of default-constructibility simplifies the implementation of much iterator- and
Expand Down

0 comments on commit 9ad5341

Please sign in to comment.