Skip to content

Commit

Permalink
Writable does not require Copyable, fixes #240
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler authored and CaseyCarter committed Mar 8, 2017
1 parent f016416 commit 916be23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iterators.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@
\begin{codeblock}
template <class Out, class T>
concept bool Writable() {
return Semiregular<Out>() &&
return Movable<Out>() && DefaultConstructible<Out>() &&
requires(Out o, T&& t) {
*o = std::forward<T>(t); // not required to be equality preserving
};
Expand Down

0 comments on commit 916be23

Please sign in to comment.