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 791 of file MemoryX.h.

Member Function Documentation

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

Definition at line 792 of file MemoryX.h.

793  {
794  auto stdstr = str.ToStdWstring(); // no allocations, a cheap fetch
795  using Hasher = hash< decltype(stdstr) >;
796  return Hasher{}( stdstr );
797  }

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