Revert "Merge pull request #853 from ivannp/underscores"

This reverts commit a964098754, reversing
changes made to bda3a11f9e.

SWIG should only provide default operator names that provide special
standard or conventional meaning in the target language.
This commit is contained in:
William S Fulton 2016-12-22 19:47:54 +00:00
commit f9158e525f
4 changed files with 38 additions and 68 deletions

View file

@ -20,12 +20,8 @@ private:
double radius;
public:
Circle(double r) : radius(r) { }
Circle(double xx, double yy, double rr);
virtual double area();
virtual double perimeter();
bool operator==(const Circle & other);
bool operator!=(const Circle & other);
};
class Square : public Shape {
@ -35,7 +31,4 @@ public:
Square(double w) : width(w) { }
virtual double area();
virtual double perimeter();
bool operator==(const Square & other);
bool operator!=(const Square & other);
};