These are chat archives for boostorg/hana
static_cast<bool>preferred over using
hana::not_for performance reasons?
count_if, but I was just exploring different solutions
static_cast<bool>because it matches precisely what the documentations says; the predicate needs to return an
IntegralConstantthat can be converted to
bool. It also avoids having to include
hana/not.hpp, but that’s merely a nice side-effect.