non-standard compliant complexity of size()

Andrey R. Urazov coola@ngs.ru
Sun May 26 03:22:00 GMT 2002


Hello,

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 (mailto:coola@ngs.ru)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20020526/0e0f2f6a/attachment.sig>


More information about the Gcc-help mailing list