Namespaces
Variants
Actions

Talk:cpp/container/list/size

From cppreference.com
< Talk:cpp‎ | container‎ | list

[edit] This page is a special case and should not use size template unchanged

size function of std::list has a different complexity specification before C++11, so the template of size should not be used. According to the history, P12 once corrected this.([1]). Therefore I believe latest edition reverting to use template is probably a mistake.Yaossg (talk) 21:21, 8 May 2025 (PDT)

Fixed. --YexuanXiao (talk) 22:03, 8 May 2025 (PDT)