Welcome to alia’s documentation!

This is the reference documentation for alia…

template<class Signal, class AvailabilityFlag>
auto alia::mask(Signal signal, AvailabilityFlag availability_flag)

Mask a signal.

This does the equivalent of bit-masking on an individual signal. If availibility_flag evaluates to true, the mask evaluates to a signal equivalent to signal. Otherwise, it evaluates to an empty signal of the same type.