I noticed that it's a common error among that C++ programmers think that STL's empty() actually empties the list.
So I see a lot of
Has anybody else noticed that?Code:~Destruct() { list1.empty(); list2.empty(); }
Kinda interesting in terms of interface design that many people assume that empty actually empties a list. Understandable as it's a verb too.