---
name: "std::tr1::random_device"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.5-8"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr1::random_device/3cxx"
---

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

## NAME

std::tr1::random\_device -

## SYNOPSIS

### 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')\

## Detailed Description

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

Definition at line 1455 of file tr1\_impl/random.

## Author

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