From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-04-26 13:22:56
Sean Hunt wrote:
> Mathias Gaunard wrote:
>> Sean Hunt wrote:
>>> dynamic polymorphism on the return type.
>> What is that supposed to mean?
>> Are you talking about covariant return types?
> No, I picked a bad name. I meant that the return type is known, so that
> I might store a bound_func<int>, which is some nullary functor which
> returns an int.
It sounds like you want boost::function<int()>