News for hackers. Stuff that matters.
Re:Popcount CPU instruction by gpderetta on Monday September 09, 2019 @04:52AM (#20916336)
in c++20 you can use

  if constexpr(std::is_constant_evaluated()) { 
       // hand coded implementation
  } else {
       // use builtin
  }
but yes, it is annoying.

There are no comments on this comment yet.