Skip to content

Conversation

@jonesmz
Copy link

@jonesmz jonesmz commented Sep 25, 2025

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.

@jonesmz jonesmz force-pushed the prefer-bool-over-integral-constant branch from 697fb53 to 3caf754 Compare September 25, 2025 21:46
@jonesmz jonesmz force-pushed the prefer-bool-over-integral-constant branch from 3caf754 to 2f28096 Compare September 25, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant