8 T
If(
const Bit & sel,
const T& rhs)
const {
9 return static_cast<const T*
>(
this)->select(sel, rhs);
13 inline T
If(
const Bit & select,
const T & o1,
const T & o2) {
15 return res.If(select, o1);
19 T o =
If(swap, o1, o2);
Definition: swappable.h:7
void swap(const Bit &swap, T &o1, T &o2)
Definition: swappable.h:18
T If(const Bit &sel, const T &rhs) const
Definition: swappable.h:8