stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: Tuple status
Date Wed, 02 Jul 2008 20:27:56 GMT
 

> -----Original Message-----
> From: Eric Lemings [mailto:Eric.Lemings@roguewave.com] 
> Sent: Wednesday, July 02, 2008 10:45 AM
> To: dev@stdcxx.apache.org
> Subject: RE: Tuple status
> 
>  
> 
> > -----Original Message-----
> > From: Martin Sebor [mailto:msebor@gmail.com] On Behalf Of 
> Martin Sebor
> > Sent: Tuesday, July 01, 2008 11:08 PM
> > To: dev@stdcxx.apache.org
> > Subject: Re: Tuple status
> > 
...
> 
> >    3. why is is the base class __rw_tuple rather than std::tuple?

Ah.  I misread this question and so didn't really answer this it
correctly.

std::tuple inherits from __rw_tuple because the latter class template
exposes the accesssors for head and tail.  The public class does not
expose these internal accessors.  Could you move the accessors into
std::tuple?  Yes, if it were not for the pair specialization as I
mentioned in the first reply.

Brad.

Mime
View raw message