MPL11
|
Typeclass for datatypes supporting the usual bitwise operations. More...
Classes | |
struct | boost::mpl11::bitand_< x1, x2, xn > |
Bitwise and (&& ). More... | |
struct | boost::mpl11::bitor_< x1, x2, xn > |
Bitwise or (|| ). More... | |
struct | boost::mpl11::bitxor< x1, x2, xn > |
Bitwise xor (^ ). More... | |
struct | boost::mpl11::shift_right< x, n > |
Bitwise right shift (>> ). More... | |
struct | boost::mpl11::shift_right_c< x, n > |
Equivalent to shift_right<x, size_t<n>> . More... | |
struct | boost::mpl11::shift_left< x, n > |
Bitwise left shift (<< ). More... | |
struct | boost::mpl11::shift_left_c< x, n > |
Equivalent to shift_left<x, size_t<n>> . More... | |
struct | boost::mpl11::compl_< x > |
Bitwise complement (~ ). More... | |
Typeclass for datatypes supporting the usual bitwise operations.
bitand_
, bitor_
, bitxor
, compl_
,shift_left
and shift_right
.
The bitand_
, bitor_
and bitxor
methods can be invoked with more than two arguments. In that case, the methods are left-associative like their C++ equivalent. Specifically, method<x1, ..., xn>
is equivalent to method<method<x1, x2>, ..., xn>
.
All the methods.