3 ms·
Actually, std::list does have a sort() method, std::vector doesn't though. std::vector makes you use the other algorithms one, since it's made up of contiguous
by kingkilr 15y ago
Actually, std::list does have a sort() method, std::vector doesn't though. std::vector makes you use the other algorithms one, since it's made up of contiguous memory, while std::list isn't.