Function sequant::bits::subsets_ascending

Function Documentation

constexpr auto sequant::bits::subsets_ascending(std::unsigned_integral auto mask)

Generates all subsets of the mask in ascending numerical order.

Parameters:

mask – The bitmask representing the set.

Returns:

A view of submasks sorted ascending.