Namespaces
Variants
Views
Actions

Template:all any none of truth table

From cppreference.com

The return value represented in the form of the Truth table is:

input range contains
all true,
none false
some true,
some false
none true,
all false
none true,
none false
(empty range)
1,2) all_of true false false true
3,4) any_of true true false false
5,6) none_of false false true true