logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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