Audacity  2.3.1
Public Member Functions | List of all members
std::hash< NormalizedKeyString > Struct Template Reference

#include <CommandManager.h>

Public Member Functions

size_t operator() (const NormalizedKeyString &str) const

Detailed Description

struct std::hash< NormalizedKeyString >

Definition at line 101 of file CommandManager.h.

Member Function Documentation

size_t std::hash< NormalizedKeyString >::operator() ( const NormalizedKeyString str) const

Definition at line 102 of file CommandManager.h.

References NormalizedKeyString::Raw().

103  {
104  auto &stdstr = str.Raw(); // no allocations, a cheap fetch
105  using Hasher = std::hash< wxString >;
106  return Hasher{}( stdstr );
107  }
const wxString & Raw() const
Definition: Keyboard.h:27

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