Namespaces
Variants
Actions

Talk:cpp/container/forward list/resize

From cppreference.com

The given complexity is wrong, the standard does not mention time complexity for this operation at all, and the possible implementations cannot achieve it. I tried editing the page, but I do not know how. 188.192.35.203 16:10, 13 January 2016 (PST)

the standard requires exactly N operations on elements (either N calls to the constructor or N calls to the destructor). --Cubbi (talk) 18:06, 13 January 2016 (PST)