---
name: "std::bernoulli_distribution::param_type"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/std::bernoulli_distribution::param_type"
---

# std::bernoulli\_distribution::param\_type(3)

## NAME

std::bernoulli\_distribution::param\_type

## SYNOPSIS

\#include \<random\>

### Public Types

typedef **bernoulli\_distribution** **distribution\_type**\

### Public Member Functions

**param\_type** (double \_\_p)\
 double **p** () const\

### Friends

bool **operator==** (const param\_type &\_\_p1, const param\_type &\_\_p2)\

## Detailed Description

Parameter type.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
