template <class charT, class traits, class Engine, size_t k>
basic_ostream<charT,traits>& operator<< ( basic_ostream<charT,traits>& os,
const shuffle_order_engine<Engine,k>& soe );
Insert into output stream
Writes a textual representation of the object's current state (including the state of the internal Engine object it adapts), separating adjacent numbers by one or more spaces, in such a way that if this same text is inserted using operator>> into an object of the same type, the same sequence of random numbers would be generated by equivalent invocations of operator().
If os's fmtflags is not set to dec|left and its fill character is not the space character, the behavior of this function is undefined.
The same as parameter os.
If some error happens during the output operation, the stream's badbit flag is set, and if the appropriate flag has been set with ios::exceptions, an exception is thrown.
Linear on the state size.
- Extract from input stream (function template