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

#include <TranslatableString.h>

Public Member Functions

size_t operator() (const TranslatableString &str) const
 

Detailed Description

Definition at line 301 of file TranslatableString.h.

Member Function Documentation

◆ operator()()

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

Definition at line 302 of file TranslatableString.h.

303 {
304 const wxString &stdstr = str.mMsgid.ToStdWstring(); // no allocations, a cheap fetch
305 using Hasher = hash< wxString >;
306 return Hasher{}( stdstr );
307 }
#define str(a)

References str.


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