Visual Computing Library
Loading...
Searching...
No Matches
vcl::BitProxyConcept Concept Reference

BitProxyConcept is satisfied only if a class provides the member functions specified in this concept. These member functions allows to access to a bool reference from a bit saved in a mask, and then allow assignment. More...

#include <vclib/concepts/space/bit_set.h>

Concept definition

template<typename T>
concept vcl::BitProxyConcept = requires (T&& obj) {
requires std::convertible_to<T, bool>;
obj = bool();
obj |= bool();
obj &= bool();
obj /= bool();
}
BitProxyConcept is satisfied only if a class provides the member functions specified in this concept....
Definition bit_set.h:40

Detailed Description

BitProxyConcept is satisfied only if a class provides the member functions specified in this concept. These member functions allows to access to a bool reference from a bit saved in a mask, and then allow assignment.