Amélie et François Dumont wrote: > Just a little remark about the code that has nothing to do with the > bug that has been elucidated by Graig Henderson. When Greg Dehaas > wrote: [...] >> fncSelection = boost::bind(GenAlg::RouletteWheel<CGAController, >> unsigned long>,_1); > > It seems to me that it would have been more accurate to write: > > fncSelection = boost::ptr_fun(GenAlg::RouletteWheel<CGAController, > unsigned long>); > > there is no use for the boost::bind function even if the result is > finally the same ;-)
There's no need to use ptr_fun, either. fncSelection = &GenAlg::RouletteWheel<CGAController, unsigned long>; _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost