operator<<,>>(std::philox_engine)
From cppreference.com
 
 
 < cpp | numeric | random | philox engine 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Numerics library 
  
 
 
 
 
 
 
 Mathematical special functions (C++17)
 Mathematical constants (C++20)
 Basic linear algebra algorithms (C++26)
 Data-parallel types (SIMD) (C++26)
 Floating-point environment (C++11)
 Bit manipulation (C++20)
 Saturation arithmetic (C++26)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
Pseudo-random number generation 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
(C++20)
(C++11)
(C++11)
(C++11)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
std::philox_engine 
 
 
 Member functions
 Generation
 Characteristics
 Non-member functions
(C++26)
operator<<operator>>
(C++26)(C++26)
template< class CharT, class Traits >
 (1) 
 (since C++26) 
friend std::basic_ostream <CharT, Traits>& 
    operator<<( std::basic_ostream <CharT, Traits>& os, 
template< class CharT, class Traits >
 (2) 
 (since C++26) 
friend std::basic_istream <CharT, Traits>& 
    operator>>( std::basic_istream <CharT, Traits>& is, 
1) Writes the textual representation of the current state of e to os with fmtflags set to std::ios_base::dec | std::ios_base::left  and the fill character set to the space character.
 After writing, os's original fmtflags and fill character are restored.
2) Reads a textual representation of engine state from is (denoted as text) with fmtflags set to std::ios_base::dec , and sets the state of e to that state.
 After reading, is's original fmtflags is restored.
- If text was not previously written using an output stream pr, the behavior is undefined.
- Otherwise, if any of the following values is false, the behavior is undefined:
- is.getloc() == pr.getloc()
-  std::is_same <decltype(is)::char_type,
 decltype(pr)::char_type>::value
-  std::is_same <decltype(is)::traits_type,
 decltype(pr)::traits_type>::value
 
- Otherwise, if text is not a valid textual representation of any state of decltype(e), the state of e is unchanged and is.setstate(std::ios_base::failbit ) is called.
- Otherwise, given another engine eng of the same type as e. If text was previously written by pr << eng and there is no intervening invocations of e or of eng between pr << eng and is >> e, e == eng is true.
These function templates are not visible to ordinary unqualified or qualified lookup, and can only be found by argument-dependent lookup when decltype(e) is an associated class of the arguments.
[edit] Parameters
 os
 -
 output stream to insert the data to
 is
 -
 input stream to extract the data from
 e
 -
 pseudo-random number engine
[edit] Return value
1) os
2) is
[edit] Complexity
1,2) \(\scriptsize O(n) \)O(n).