
2 May
2006
2 May
'06
1:41 p.m.
Hello, how can I define a function<> object which returns a value of the same type: // doesn't work with gcc-4.1 class X; typedef function< X() > X; X x1 = bind(...); X x2 = x1(); Regards, Oliver