11 #include <metaprogramming/UniversalReferences.hpp> 17 bool bitOf(
const T& in,
21 constexpr
int bitsetSize=
26 std::bitset<bitsetSize>;
29 static_cast<
const B>(in)[pos];
bool bitOf(const T &in, const int pos)
Access to a given bit of a variable.
bool lowestBitOf(const T &in)
Access to the lowest bit of a variable.