proxygen
folly::Random::SecureRNG< T > Class Template Reference

Public Types

using result_type = typename std::enable_if< std::is_integral< T >::value &&!std::is_same< T, bool >::value, T >::type
 

Public Member Functions

result_type operator() ()
 

Static Public Member Functions

static constexpr result_type min ()
 
static constexpr result_type max ()
 

Detailed Description

template<class T>
class folly::Random::SecureRNG< T >

Definition at line 73 of file Random.h.

Member Typedef Documentation

template<class T>
using folly::Random::SecureRNG< T >::result_type = typename std::enable_if< std::is_integral<T>::value && !std::is_same<T, bool>::value, T>::type

Definition at line 77 of file Random.h.

Member Function Documentation

template<class T>
static constexpr result_type folly::Random::SecureRNG< T >::max ( )
inlinestatic

Definition at line 87 of file Random.h.

References max.

87  {
89  }
LogLevel max
Definition: LogLevel.cpp:31
template<class T>
static constexpr result_type folly::Random::SecureRNG< T >::min ( )
inlinestatic

Definition at line 83 of file Random.h.

References min.

83  {
85  }
LogLevel min
Definition: LogLevel.cpp:30
template<class T>
result_type folly::Random::SecureRNG< T >::operator() ( )
inline

Definition at line 79 of file Random.h.

79  {
80  return Random::secureRandom<result_type>();
81  }

The documentation for this class was generated from the following file: