24#ifdef USE_KICAD_WXSTRING_HASH 
   25size_t std::hash<wxString>::operator()( 
const wxString& s )
 const 
   27    return std::hash<std::wstring>{}( s.ToStdWstring() );
 
   31#ifdef USE_KICAD_WXPOINT_LESS_AND_HASH 
   44    return wxString( view.data(), view.length() );
 
 
   48std::ostream& 
operator<<( std::ostream& out, 
const wxSize& size )
 
   50    out << 
" width=\"" << size.GetWidth() << 
"\" height=\"" << size.GetHeight() << 
"\"";
 
 
   55std::ostream& 
operator<<( std::ostream& out, 
const wxPoint& pt )
 
   57    out << 
" x=\"" << pt.x << 
"\" y=\"" << pt.y << 
"\"";
 
 
bool operator()(const wxPoint &aA, const wxPoint &aB) const
 
std::ostream & operator<<(std::ostream &out, const wxSize &size)
Helper function to print the given wxSize to a stream.
 
wxString TowxString(const std::string_view &view)