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: svn commit: r669723 - in /stdcxx/branches/4.3.x: include/rw/_meta_cv.h include/rw/_tuple.h include/tuple tests/utilities/20.tuple.elem.cpp
Date Thu, 26 Jun 2008 15:55:23 GMT
 

> -----Original Message-----
> From: Travis Vitek [mailto:Travis.Vitek@roguewave.com] 
> Sent: Wednesday, June 25, 2008 2:10 PM
> To: dev@stdcxx.apache.org
> Subject: RE: svn commit: r669723 - in /stdcxx/branches/4.3.x: 
> include/rw/_meta_cv.h include/rw/_tuple.h include/tuple 
> tests/utilities/20.tuple.elem.cpp
> 
>  
...
> 
> >+template <int _Index, class _Head, class... _Tail>
> >+_TYPENAME tuple_element<_Index, tuple<_Head, _Tail...> >::_Ref
> >+get (tuple<_Head, _Tail...>& __tuple)
> >+{
> >+    typedef tuple_element<_Index, tuple<_Head, _Tail...> > _Tuple;
> >+    return _Tuple::__get (__tuple);
> >+}
> >+
> >+template <int _Index, class _Head, class... _Tail>
> >+_TYPENAME tuple_element<_Index, tuple<_Head, _Tail...> >::_ConstRef
> >+get (const tuple<_Head, _Tail...>& __tuple)
> >+{
> >+    typedef tuple_element<_Index, tuple<_Head, _Tail...> > _Tuple;
> >+    return _Tuple::__get (__tuple);
> >+}
> 
> I just noticed LWG775. We should probably consider adopting 
> the proposed
> reslution.
> 
>   http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#775

Noted.  Thanks for the link.

Brad.

Mime
View raw message