3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 25 Jul 2001 <nathan@codesourcery.com>
6 // Origin: gustavo@geneura.ugr.es
7 // Bug 3624. Template instantiation of a reference type was not
8 // converted from reference when doing a call.
14 template <class A, class B, class C, C& c, bool d> class eo: public A
19 cout << this->x << " " << this->y << " "
21 << ((d)?"true":"false") << endl;
35 float fitness(const XY& a)
42 float operator()(const XY& a)
55 float operator()(const XY& a)
66 eo<XY, float, fitness2, f2, true> eo2;
67 eo<XY, float, fitness3, f3, true> eo3;