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

#include <Types.h>

Public Member Functions

size_t operator() (const wxString &str) const
 

Detailed Description

Definition at line 57 of file Types.h.

Member Function Documentation

◆ operator()()

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

Definition at line 58 of file Types.h.

59  {
60  auto stdstr = str.ToStdWstring(); // no allocations, a cheap fetch
61  using Hasher = hash< decltype(stdstr) >;
62  return Hasher{}( stdstr );
63  }

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