Wraps overloaded operators that are not instance methods, as long as their first parameter accepts a wrapped type by (non-const or const) lvalue reference. The operators are transformed into methods by the Clang parser entirely; it makes no differences to Bindgen whether a given operator was defined as a method or not.
On Qt5.cr this mainly affects the geometric object types (QLine, QRect, QPolygon, QTransform, and so on).
Wraps overloaded operators that are not instance methods, as long as their first parameter accepts a wrapped type by (non-const or const) lvalue reference. The operators are transformed into methods by the Clang parser entirely; it makes no differences to Bindgen whether a given operator was defined as a method or not.
On Qt5.cr this mainly affects the geometric object types (
QLine
,QRect
,QPolygon
,QTransform
, and so on).