> but bsf isn't general, so we might as well have a nicer function in std.bitmanip.

This I agree on, I meant it should probably be implemented "in terms of".