Electroneum
std::hash< epee::wipeable_string > Struct Template Reference

#include <wipeable_string.h>

Public Member Functions

size_t operator() (const epee::wipeable_string &s) const
 

Detailed Description

template<>
struct std::hash< epee::wipeable_string >

Definition at line 103 of file wipeable_string.h.

Member Function Documentation

◆ operator()()

size_t std::hash< epee::wipeable_string >::operator() ( const epee::wipeable_string s) const
inline

Definition at line 105 of file wipeable_string.h.

106  {
107  return epee::fnv::FNV1a(s.data(), s.size());
108  }
size_t size() const noexcept
uint64_t FNV1a(const char *ptr, size_t sz)
Definition: fnv1.h:36
const char * data() const noexcept
Here is the call graph for this function:

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