Function Subspace :: sus :: num :: operator>>

auto operator>>(u8 l, std::convertible_to<u64> auto r) -> u8
template <class U>
auto operator>>(u8 l, U r) -> u8
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(u16 l, std::convertible_to<u64> auto r) -> u16
template <class U>
auto operator>>(u16 l, U r) -> u16
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(u32 l, std::convertible_to<u64> auto r) -> u32
template <class U>
auto operator>>(u32 l, U r) -> u32
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(u64 l, std::convertible_to<u64> auto r) -> u64
template <class U>
auto operator>>(u64 l, U r) -> u64
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(usize l, std::convertible_to<u64> auto r) -> usize
template <class U>
auto operator>>(usize l, U r) -> usize
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(uptr l, std::convertible_to<u64> auto r) -> uptr
template <class U>
auto operator>>(uptr l, U r) -> uptr
requires
!std::convertible_to<U, u64>
deleted

Satisfies the Shr concept for unsigned integers.

Panics

This function will panic when r is not less than the number of bits in l if overflow checks are enabled (they are by default) and will perform a wrapping shift if overflow checks are disabled (not the default).

See overflow checks for controlling this behaviour.