65 return (
x() &&
y() && z());
71 return (
x() ||
y() || z());
83 unsigned int total = 0;
85 for (
const bool val : *
this)
void operator=(const T list[N])
Assignment to array operator. Takes linear time.
bool none() const noexcept
True if no components are set.
boolVector & operator=(const boolVector &)=default
Copy assignment.
bool any(const UList< bool > &bools)
True if any entries are 'true'.
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
boolVector()
Default construct, zero-initialized (ie, false)
bool all() const noexcept
True if all components are set.
void flip()
Invert all values.
bool any() const noexcept
True if any components are set.
unsigned int count(const bool on=true) const
Count number of items set.