The BIG change of general operator interface

I also changed
  - the eoQuadratic into eoQuad (as dicussed with Maarten)
  - the eoBin into eoBit, with more appropriate names for the "binary"
    operators (that can be unary!) as no one protested when I posted on
    eodev list
This commit is contained in:
evomarc 2001-02-09 05:09:26 +00:00
commit 415b419671
60 changed files with 2034 additions and 940 deletions

View file

@ -153,11 +153,11 @@ class eoExternalBinOp : public eoBinOp<ExternalEO>
The function should return true when it changed something, false otherwise
*/
template <class F, class External, class ExternalEO = eoExternalEO<F, External> >
class eoExternalQuadraticOp : public eoQuadraticOp<ExternalEO>
class eoExternalQuadOp : public eoQuadOp<ExternalEO>
{
public :
eoExternalQuadraticOp(bool (*_quadop)(External&, External&)) : quadop(_quadop) {}
eoExternalQuadOp(bool (*_quadop)(External&, External&)) : quadop(_quadop) {}
void operator()(ExternalEO& eo1, ExternalEO& eo2)
{