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

template<>
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
inline

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: