[Ohrrpgce] SVN: teeemcee/8266 Add some operator overloads for XYPair (=, <>, +, *, \, +=, negation) and Rect

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sat Dec 24 01:33:33 PST 2016


teeemcee
2016-12-24 01:33:32 -0800 (Sat, 24 Dec 2016)
363
Add some operator overloads for XYPair (=,<>,+,*,\,+=,negation) and RectType (=,<>)

At last, just what I've always wanted. Unfortunately because XYPair is
contained in RectType, which is a union (although that could be
changed), we can't give it the obvious constructor and have to write
TYPE<XYPair>(a,b) or TYPE(a,b) depending on whether the type is
ambiguous.
---
U   wip/util.bas
U   wip/util.bi


More information about the Ohrrpgce mailing list