##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::uniform_int_distribution::param

From cppreference.com
< cpp‎ | numeric‎ | random‎ | uniform int distribution

[edit template]

param_type param() const; | (1) | (since C++11)
void param( const param_type& params ); | (2) | (since C++11)

Manages the associated distribution parameter set.

1) Returns the associated parameter set.

2) Sets the associated parameter set to `params`

### [edit] Parameters

params | - | new contents of the associated parameter set

### [edit] Return value

1) The associated parameter set

2) (none)

### [edit] Complexity

Constant.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/numeric/random/uniform_int_distribution/param&oldid=51045"