absl::operator<<

Writes the distribution to an output stream.

Synopsis

Declared in <absl/random/discrete_distribution.h>

template<
    typename CharT,
    typename Traits,
    typename IntType>
std::basic_ostream<CharT, Traits>&
operator<<(
    std::basic_ostream<CharT, Traits>& os,
    discrete_distribution<IntType> const& x);

Return Value

A reference to the output stream.

Parameters

NameDescription
osThe output stream to write to.
xThe distribution to write.