On 9/20/07, Gonzalo Merayo <[EMAIL PROTECTED]> wrote:
> Probaste pasar:
> template <>
> bool operator==(TPoint<double> PointA,TPoint<double> PointB)
> {
> if ( fabs(PointA.GetX()-PointB.GetX())<EPSILON &&
> fabs(PointA.GetY()-PointB.GetY())<EPSILON )
> return true;
> return false;
> }
>
> ¿al .cpp?
>
y pero necesitaría pegarlo a todos los .cpp que hagan uso del TPoint
==, no es práctico
Saludos
_______________________________________________
Lista de correo Programacion.
[email protected]
http://listas.fi.uba.ar/mailman/listinfo/programacion