operator<<,>>(std::gamma_distribution)
Min standard notice:
Performs stream input and output operations on pseudo-random number distribution d.
# Declarations
template< class CharT, class Traits >
friend std::basic_ostream<CharT,Traits>&
operator<<( std::basic_ostream<CharT,Traits>& ost,
const gamma_distribution& d );
(since C++11)
template< class CharT, class Traits >
friend std::basic_istream<CharT,Traits>&
operator>>( std::basic_istream<CharT,Traits>& ist,
gamma_distribution& d );
(since C++11)
# Parameters
ost: output stream to insert the data toist: input stream to extract the data fromd: pseudo-random number distribution
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3519 | C++11 | the form of insertion and extraction operators were unspecified(could be hidden friends or out-of-class function templates) | specified to be hidden friends |