[Issue 14478] isInputRange failed to recognize some ranges
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Apr 22 01:20:41 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14478
Peter Alexander <peter.alexander.au at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter.alexander.au at gmail.co
| |m
--- Comment #6 from Peter Alexander <peter.alexander.au at gmail.com> ---
(In reply to Jonathan M Davis from comment #3)
> <snip> And IIRC, C++ STL containers require that their elements
> be copyable in order to work, so it's not like we'd be the first to require
> this sort of thing.
Most containers in C++ only require movability, otherwise you couldn't have
containers of std::unique_ptr<T>.
--
More information about the Digitalmars-d-bugs
mailing list