Last active
December 18, 2016 19:49
-
-
Save picanumber/ae401213de5497f1c68647d1e991f242 to your computer and use it in GitHub Desktop.
Predicate logic expressed in C++17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <bool... Bs> constexpr bool all_v = (... && Bs); | |
template <bool... Bs> constexpr bool any_v = (... || Bs); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment