D++ (DPP)  10.0.30
C++ Discord API Bot Library
std::hash< dpp::snowflake > Struct Reference

#include "snowflake.h"

Public Member Functions

std::size_t operator() (dpp::snowflake s) const noexcept
 Hashing function for dpp::snowflake Used by std::unordered_map. More...
 

Member Function Documentation

◆ operator()()

std::size_t std::hash< dpp::snowflake >::operator() ( dpp::snowflake  s) const
inlinenoexcept

Hashing function for dpp::snowflake Used by std::unordered_map.

This just calls std::hash<uint64_t>.

Parameters
sSnowflake value to hash
Returns
std::size_t hash value

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