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

#include <MemoryX.h>

Public Member Functions

size_t operator() (const wxString &str) const

Detailed Description

struct std::hash< wxString >

Definition at line 1175 of file MemoryX.h.

Member Function Documentation

size_t std::hash< wxString >::operator() ( const wxString &  str) const

Definition at line 1176 of file MemoryX.h.

1177  {
1178  auto stdstr = str.ToStdWstring(); // no allocations, a cheap fetch
1179  using Hasher = hash< decltype(stdstr) >;
1180  return Hasher{}( stdstr );
1181  }

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