Hacker News new | ask | show | jobs
by lenkite 2128 days ago
That's a weird restriction on not allowing logical operators. AFAIK C++ allows this for constexpr functions - as long as it can be evaluated at compile time.