absl::operator>>

Right shift operators

Synopses

Declared in <absl/numeric/int128.h>

Shifts lhs right by the given number of bits.

constexpr
int128
operator>>(
    int128 lhs,
    int amount);
» more...

Shifts lhs right by the given number of bits.

constexpr
uint128
operator>>(
    uint128 lhs,
    int amount);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    bernoulli_distribution& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename RealType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    beta_distribution<RealType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename IntType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    discrete_distribution<IntType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename RealType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    exponential_distribution<RealType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename RealType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    gaussian_distribution<RealType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename IntType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    log_uniform_int_distribution<IntType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename IntType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    poisson_distribution<IntType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename IntType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    uniform_int_distribution<IntType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename RealType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    uniform_real_distribution<RealType>& x);
» more...

Reads the distribution from an input stream.

template<
    typename CharT,
    typename Traits,
    typename IntType>
std::basic_istream<CharT, Traits>&
operator>>(
    std::basic_istream<CharT, Traits>& is,
    zipf_distribution<IntType>& x);
» more...

Return Value

  • The shifted value.
  • A reference to the input stream.

Parameters

NameDescription
lhsThe value to shift.
amountThe number of bit positions to shift.
isThe input stream to read from.
xThe distribution to read into.