2 ms·
"The reason for the specific implementation is to get constant time removal and remove-add_to_end operations" http://en.cppreference.com/w/cpp/container/list h
by Someone 10y ago
"The reason for the specific implementation is to get constant time removal and remove-add_to_end operations"
http://en.cppreference.com/w/cpp/container/list http://en.cppreference.com/w/cpp/container/list:
"std::list is a container that supports constant time insertion and removal of elements from anywhere in the container."
'The : private NoCopy is just to block the copy constructors."
But does it need a virtual destructor?