stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek" <Travis.Vi...@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 Wed, 25 Jun 2008 20:09:57 GMT
 

>
>Author: elemings
>Date: Thu Jun 19 15:09:13 2008
>New Revision: 669723
>
>URL: http://svn.apache.org/viewvc?rev=669723&view=rev
>Log:
>2008-06-19  Eric Lemings <eric.lemings@roguewave.com>
>
>	STDCXX-958

[...]

>+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

Travis

Mime
View raw message