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

auto operator>>(i8 l, std::convertible_to<u64> auto r) -> i8
template <class U>
auto operator>>(i8 l, U r) -> i8
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(i16 l, std::convertible_to<u64> auto r) -> i16
template <class U>
auto operator>>(i16 l, U r) -> i16
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(i32 l, std::convertible_to<u64> auto r) -> i32
template <class U>
auto operator>>(i32 l, U r) -> i32
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(i64 l, std::convertible_to<u64> auto r) -> i64
template <class U>
auto operator>>(i64 l, U r) -> i64
requires
!std::convertible_to<U, u64>
deleted
auto operator>>(isize l, std::convertible_to<u64> auto r) -> isize
template <class U>
auto operator>>(isize l, U r) -> isize
requires
!std::convertible_to<U, u64>
deleted

Satisfies the Shr concept for signed integers.

Performs sign extension, copying the sign bit to the right if its set.

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.