---
name: "std::tr1::random_device"
section: "3"
platform: "linux"
package: "libstdc++6-4.2-doc"
version: "4.2.4-6"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr1::random_device"
---

# std::tr1::random\_device(3)

## NAME

std::tr1::random\_device -

## SYNOPSIS

## Detailed Description

A standard interface to a platform-specific non-deterministic random number generator (if any are available).

Definition at line 1410 of file random.

### Public Types

typedef unsigned int **result\_type**\

### Public Member Functions

double **entropy** () const \
 result\_type **max** () const \
 result\_type **min** () const \
 result\_type **operator()** ()\
 **random\_device** (const **std::string** &\_\_token='mt19937')\

## Author

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