+ and - overloaded operators (CVS commit)
Stefano Corsi <[email protected]> Sun, 27 Apr 2003 10:52:20 +0000
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Organization | Moto Project |
| Message-ID | <[email protected]> |
- Added handling of + and - overloaded operators (motov_math) - Added definitions for overloaded + and - for IntSets (intset.c, intset_= op.c,=20 IntSet.i) - Added multiple definitions for +=3D and -=3D for IntSets (intset.c, int= set_op.c,=20 IntSet.i): =09+=3D (int) =09+=3D (IntSet) =09-=3D (int) =09-=3D (IntSet) Anyone willing to write sample overloaded operator for other classes? In = case,=20 check out moto_opo branch! Stefano