Template Function ADS::forEachCombinationMask

Function Documentation

template<class F>
long ADS::forEachCombinationMask(int n, int t, F &&visit)

the words of t 1 bits below 2^n in increasing order, visit( x ) on each

Pre:

0 <= t <= n <= 64