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
32bool std::less<wxPoint>::operator()(
const wxPoint& aA,
const wxPoint& aB )
const
42std::ostream&
operator<<( std::ostream& out,
const wxSize& size )
44 out <<
" width=\"" << size.GetWidth() <<
"\" height=\"" << size.GetHeight() <<
"\"";
49std::ostream&
operator<<( std::ostream& out,
const wxPoint& pt )
51 out <<
" x=\"" << pt.x <<
"\" y=\"" << pt.y <<
"\"";
std::ostream & operator<<(std::ostream &out, const wxSize &size)
Helper function to print the given wxSize to a stream.