absl::operator>>

Reads the distribution from an input stream.

Synopsis

Declared in <absl/random/exponential_distribution.h>

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

Return Value

A reference to the input stream.

Parameters

NameDescription
isThe input stream to read from.
xThe distribution to read into.