Boost logo

Boost :

From: Jaakko Jarvi (jajarvi_at_[hidden])
Date: 2002-01-21 12:50:59


On Thu, 17 Jan 2002, David Abrahams wrote:

> I notice that if I declare a tuple type with
>
> tuple<T1, T2, T3...>::inherited
>
> that I cannot construct it unless I provide all the paramters explicitly, as
> I can when inherited is omitted. Would that be hard to fix?
>

Default arguments do not help (the cons constructor is a member template)
so it would require writing a separate constructor for each argument
length.

I can go ahead and do that, if the feature is considerd useful ?

Cheers, Jaakko

--
-- Jaakko Järvi                       email: jajarvi_at_[hidden]

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