[Bug libstdc++/59508] std::find could use specialized container's find

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Sun Dec 15 16:38:00 GMT 2013


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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler@googlemail.
                   |                            |com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
A conforming implementation cannot do that, unless the difference weren't
observable by the user (modulo the performance difference), i.e. it would only
be possible for containers that have neither user-defined value types nor
user-defined allocators.


More information about the Gcc-bugs mailing list