Reads the distribution from an input stream.

Synopsis

Declared in <absl/random/bernoulli_distribution.h>

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

Return Value

A reference to the input stream.

Parameters

Name

Description

is

The input stream to read from.

x

The distribution to read into.

Created with MrDocs