News for hackers. Stuff that matters.
Re:Zig's Comptime Is Bonkers Good by jcelerier on Tuesday January 07, 2025 @08:32AM (#42622115)
Hm, wouldn't any use of if constexpr break that definition?

e.g.

     template<typename T>
     void f() { 
       if constexpr (is_int<T>) { return 0; } 
       else ...

There are no comments on this comment yet.