Comment on Ask HN: What's the most elegant piece of code you've seen?parentComments−StephanTLavavej10yIn C++11, std::sort() is forbidden from being just a quicksort, as it's required to have worst-case O(N log N) complexity.
Comments
In C++11, std::sort() is forbidden from being just a quicksort, as it's required to have worst-case O(N log N) complexity.