non-standard compliant complexity of size()

Andrey R. Urazov
Sun May 26 03:22:00 GMT 2002


according to the draft standard ISO/IEC 14882 I have, member size() for
all the standard containers should have constant complexity, while it
seems that in the STL supplied with gcc it requires linear time for
lists. Is this a bug?

                        Yours sincerely, Andrey Urazov
The meek are contesting the will.
Sonntag, Mai 26, 2002, 17:20:27 +0700 - Andrey R. Urazov (

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <>

More information about the Gcc-help mailing list