67 for (
const bool val : *
this)
69 if (!val)
return false;
77 for (
const bool val : *
this)
93 unsigned int total = 0;
95 for (
const bool val : *
this)
121 for (
bool& val : *
this)
A 1D vector of objects of type <T> with a fixed length <N>.
void operator=(const T list[N])
Assignment to array operator. Takes linear time.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void flip()
Invert all values.
bool none() const
True if no components are set.
bool x() const
The x component.
boolVector & operator=(const boolVector &)=default
Copy assignment.
bool all() const
True if all components are set.
bool y() const
The y component.
boolVector()
Default construct, zero-initialized (ie, false)
bool any() const
True if any components are set.
bool z() const
The z component.