# std::philox_engine<UIntType,w,n,r,consts>::operator()

> C++ Atlas: `cppatlas.com/w/cpp/numeric/random/philox_engine/operator()` | Source: https://en.cppreference.com/w/cpp/numeric/random/philox_engine/operator() | Domain: Numerics | Standards: C++26

Advances the state of the engine, and generates a pseudo-random value from the new state.

## Official Specification Summary (cppreference)

```cpp
result_type operator()(); // (since C++26)
```

Advances the state of the engine, and generates a pseudo-random value from the new state.

### Return value

A pseudo-random number in `[min(),` `max()]`.

### Complexity

Amortized constant.

### See also

- [`discard`](https://en.cppreference.com/w/cpp/numeric/random/philox_engine/discard): advances the engine's state by a specified amount (public member function)

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