Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

std::random_device

Author

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

                                                    libstdc++                           std::random_device(3cxx)

Detailed Description

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

       Since
           C++11

Member Typedef Documentation

typedefunsignedintstd::random_device::result_type
       The type of the generated random value.

Name

       std::random_device

Synopsis

       #include <random>

   PublicTypestypedef unsigned int result_typePublicMemberFunctionsrandom_device (const random_device &)=deleterandom_device (const std::string &__token)
       double entropy () const noexcept
       result_typeoperator() ()
       voidoperator= (const random_device &)=deleteStaticPublicMemberFunctionsstatic constexpr result_typemax ()
       static constexpr result_typemin ()

See Also