This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature



------- Comment #7 from sebor at roguewave dot com  2005-12-08 00:08 -------
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). It may not be a bad idea to open an issue (or at least
bring it up on the reflector).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]