callable_traits
callable_traits copied to clipboard
Prefer static constexpr bool over std::true_type or std::false_type
Over using std::true_type or std::false_type.
While the std::integral_constant derivatives aren't particularly heavy weight, they still add up in a codebase that sees them used in many places. Directly using static constexpr bool variables should reduce the number of template instantiations required, reducing build times.