# std::poisson_distribution<IntType>::max

> C++ Atlas: `cppatlas.com/w/cpp/numeric/random/poisson_distribution/max` | Source: https://en.cppreference.com/w/cpp/numeric/random/poisson_distribution/max | Domain: Numerics | Standards: C++11

Returns the maximum value potentially generated by the distribution.

## Official Specification Summary (cppreference)

```cpp
result_type max() const; // (since C++11)
```

Returns the maximum value potentially generated by the distribution.

### Parameters

(none)

### Return value

The maximum value potentially generated by the distribution.

### Complexity

Constant.

### See also

- [`min`](https://en.cppreference.com/w/cpp/numeric/random/poisson_distribution/min) (C++11): returns the minimum potentially generated value (public member function)

---
Attribution: content from https://en.cppreference.com/w/cpp/numeric/random/poisson_distribution/max (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.