On Fri, Nov 16, 2007 at 04:24:42AM +0100, Bastiaan Jacques wrote: > On Sat, 10 Nov 2007, Sandro Santilli wrote: > > >+/// Equality operator > >+template <typename T> inline bool > >+operator== (const Point2d<T>& p1, const Point2d<T>& p2) > >+{ > >+ return p1.x == p2.x && p1.y == p2.y; > >+} > >+ > >+/// Inequality operator > >+template <typename T> inline bool > >+operator!= (const Point2d<T>& p1, const Point2d<T>& p2) > >+{ > >+ return ! ( p1 == p2 ); > >+} > >+ > > Why did you declare these templates instead of overloading the templated > Point2d class operator== and operator!=? In other words, what objections > would you have to the following patch:
No objections, if it builds. --strk; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit