about evaluator method

Maurizio Palesi mpalesi at diit.unict.it
Thu Aug 16 17:08:05 EDT 2001

Hi all,

Why can't I call the evaluator method of GAPopulation class with an argument 
that is a member of a class? For instance:

class C
   void myEvaluator(GAPopulation& p);

   GAPopulation p(genome);
   p.evaluator(myEvaluator);  <---- why I can't do this?

void C::myEvaluator(GAPopulation& p) 

Thanks a lot in advance.

This mail sent through IMP: http://www.cdc.unict.it/

More information about the galib mailing list