[Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Dec 8 00:20:00 GMT 2005
------- Comment #8 from pcarlini at suse dot de 2005-12-08 00:20 -------
(In reply to comment #7)
> FWIW, I think Andrew makes a good point in comment #1. The algorithms really
> should return the iterator, otherwise the caller may not be able to find out
> the state of the iterator after the algorithm returns (e.g., when the iterator
> is ostreambuf_iterator).
Ah, I see. Then the issue is more subtle than uninitialized_fill_n in 16505...
> It may not be a bad idea to open an issue (or at least
> bring it up on the reflector).
Ok, I will, if you don't beat me ;)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304
More information about the Gcc-bugs
mailing list