Boost logo

Boost :

Subject: Re: [boost] Futures Review - inheriting from futures
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-06 18:44:01


AMDG

vicente.botet wrote:
>>> In order to be able to inherit from futures, shouldn't the constructor(detail::future_object) or constructor(detail::future_impl) be protected?
>>>
>>>
>> Why do you want to be able to inherit from futures?
>>
>
> To extend their functionality.
>

I'm afraid that the above statement is absolutely zero use to me.
future is not a polymorphic class, so you don't have anything
to override. Do you a specific use that cannot (easily) be implemented
with the current interface?

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk