|
Boost Users : |
From: Oliver.Kowalke_at_[hidden]
Date: 2006-05-02 09:41:50
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net