|
|
|
|
|
by Quekid5
194 days ago
|
|
Imagine a comparison function that needs to call sort() as part of its implementation. You could argue that's probably a bad idea, but it would be a problem for this case. (You could solve that with a manually maintained stack for the context in a thread local, but you'd have to do that case-by-case) |
|
I think the times you need to do this are few. And this version is much more pruden.