←back to thread

386 points ingve | 1 comments | | HN request time: 0.206s | source
1. andreidd ◴[] No.35738715[source]
Nice, but good luck debugging if cmp returns -1. This is C++ after all and there is no constraint/concept to enforce the function to return bool. If you're lucky you get a sign mismatch warning.