std::seed_seq::param (3) - Linux Manuals
std::seed_seq::param: std::seed_seq::param
Command to display std::seed_seq::param
manual in Linux: $ man 3 std::seed_seq::param
NAME
std::seed_seq::param - std::seed_seq::param
Synopsis
template< class OutputIt > (since C++11)
void param( OutputIt dest ) const;
Outputs the initial seed sequence that's stored in the std::seed_seq object.
Parameters
dest - output iterator such that the expression *dest=rt is valid for a value rt of result_type
Type requirements
-
OutputIt must meet the requirements of LegacyOutputIterator.
Return value
(none)
Exceptions
Throws only if an operation on dest throws.
Example
// Run this code
#include <random>
#include <iostream>
#include <iterator>
int main()
{
std::seed_seq s1 = {-1, 0, 1};
s1.param(std::ostream_iterator<int>(std::cout, " "));
}
Output:
-1 0 1
Pages related to std::seed_seq::param
- std::seed_seq::generate (3) - std::seed_seq::generate
- std::seed_seq::seed_seq (3) - std::seed_seq::seed_seq
- std::seed_seq::size (3) - std::seed_seq::size
- std::seed_seq (3) - std::seed_seq
- std::search (3) - std::search
- std::search_n (3) - std::search_n
- std::set (3) - std::set
- std::set<Key,Compare,Allocator>::begin,std::set<Key,Compare,Allocator>::cbegin (3) - std::set<Key,Compare,Allocator>::begin,std::set<Key,Compare,Allocator>::cbegin
- std::set<Key,Compare,Allocator>::clear (3) - std::set<Key,Compare,Allocator>::clear
- std::set<Key,Compare,Allocator>::contains (3) - std::set<Key,Compare,Allocator>::contains
- std::set<Key,Compare,Allocator>::count (3) - std::set<Key,Compare,Allocator>::count