>
>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 <[EMAIL PROTECTED]>
>
>       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

Reply via email to