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::__is_fast_hash< _Hash >

Author

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

                                                    libstdc++                 std::__is_fast_hash<_Hash>(3cxx)

Detailed Description

template<typename_Hash>
       struct std::__is_fast_hash< _Hash >"Hint about performance of hash functions.

       If a given hash function object is not fast, the hash-based containers will cache the hash code. The
       default behavior is to consider that hashers are fast unless specified otherwise.

       Users can specialize this for their own hash functions in order to force caching of hash codes in
       unordered containers. Specializing this trait affects the ABI of the unordered containers, so use it
       carefully.

Name

       std::__is_fast_hash< _Hash >

Synopsis

       #include <functional>

       Inherits std::integral_constant<_Tp,__v>.

   PublicTypestypedefintegral_constant< _Tp, __v > typetypedef _Tp value_typePublicMemberFunctions
       constexpr operatorvalue_type () const noexcept
       constexpr value_type operator() () const noexcept

   StaticPublicAttributesstatic constexpr _Tp value

See Also