Comment

Comment by andreidd

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.
parent andreidd 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton