wxwidgets/interface
Vadim Zeitlin acb24e7066 Don't define operators on common GDI classes in global scope
Use "hidden friend" idiom instead and define these operators as friend
functions inside the corresponding class scope, so that they're only
found using ADL and, in particular, don't appear as candidates when
looking for any operator.

In practice, this significantly reduces the error messages given if some
operator (e.g. "==") is applied to a type not defined it, as the
compiler doesn't need to consider converting this type to wxPoint,
wxRealPoint, wxRect, wxSize etc, nor to complain about failing to do it.
2024-01-06 01:29:24 +01:00
..
wx Don't define operators on common GDI classes in global scope 2024-01-06 01:29:24 +01:00
check_syntax.sh Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00