Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 44091 invoked from network); 25 Jun 2008 20:13:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2008 20:13:05 -0000 Received: (qmail 26699 invoked by uid 500); 25 Jun 2008 20:13:07 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 26683 invoked by uid 500); 25 Jun 2008 20:13:07 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 26671 invoked by uid 99); 25 Jun 2008 20:13:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 13:13:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.30.140.160] (HELO moroha.roguewave.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2008 20:12:14 +0000 Received: from exchmail01.Blue.Roguewave.Com (exchmail01.blue.roguewave.com [10.22.129.22]) by moroha.roguewave.com (8.13.6/8.13.6) with ESMTP id m5PKAWNd018192 for ; Wed, 25 Jun 2008 20:10:32 GMT X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 14:09:57 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 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 Thread-Index: AcjSWU6WptZGgd6XTOuKZmF0+WEysAEpWkaQ References: <20080619220914.09CE223889C2@eris.apache.org> From: "Travis Vitek" To: X-Virus-Checked: Checked by ClamAV on apache.org =20 > >Author: elemings >Date: Thu Jun 19 15:09:13 2008 >New Revision: 669723 > >URL: http://svn.apache.org/viewvc?rev=3D669723&view=3Drev >Log: >2008-06-19 Eric Lemings > > STDCXX-958 [...] >+template >+_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 >+_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