operator<<,>>(std::discard_block_engine)
Min standard notice:
- Serializes the internal state of the pseudo-random number engine adaptor as a sequence of decimal numbers separated by one or more spaces, and inserts it to the stream ost. The fill character and the formatting flags of the stream are ignored and unaffected.
# Declarations
template< class CharT, class Traits >
friend std::basic_ostream<CharT,Traits>&
operator<<( std::basic_ostream<CharT,Traits>& ost,
discard_block_engine<>& e );
(since C++11)
template< class CharT, class Traits >
friend std::basic_istream<CharT,Traits>&
operator>>( std::basic_istream<CharT,Traits>& ist,
discard_block_engine& e );
(since C++11)
# Parameters
ost: output stream to insert the data toist: input stream to extract the data frome: engine adaptor to serialize or restore
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3519 | C++11 | the form of insertion and extraction operators were unspecified | specified to be hidden friends |