cpp/numeric/countl zero

Returns the number of consecutive 0 bits in the value of, starting from the most significant bit ("left").

.

Return value
The number of consecutive 0 bits in the value of, starting from the most significant bit.