[Bug libstdc++/49561] [C++0x] std::list::size complexity

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 3 01:40:00 GMT 2012


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
         AssignedTo|paolo.carlini at oracle dot |unassigned at gcc dot
                   |com                         |gnu.org

--- Comment #13 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-07-03 01:40:12 UTC ---
Patch reverted, thus in C++11 mode size() is back to O(n) but std::list can
interoperate with the C++98 version of it.



More information about the Gcc-bugs mailing list