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: Another potential hole in the tuple specs
Date Tue, 08 Jul 2008 20:21:20 GMT
 

> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Tuesday, July 08, 2008 1:14 PM
> To: dev@stdcxx.apache.org
> Subject: Re: Another potential hole in the tuple specs
> 
> Eric Lemings wrote:
> >  
> > 
...
> > 
> > I tried making std::ignore const and adding const to the internal
> > assignment operator.  I also tried adding overloads for const and
> > non-const assignment.  Still got errors in all cases.
> > 
> > The only other recourse I can think of is to use remove_const on the
> > element types where appropriate.
> 
> ignore is declared const in Boost so there must be a way
> to implement tie() without declaring the object non-const.

Found it.  Thanks.

Brad.

Mime
View raw message