From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55796 invoked by alias); 28 May 2015 12:33:53 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 55727 invoked by uid 89); 28 May 2015 12:33:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 28 May 2015 12:33:51 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 8D3552B786A; Thu, 28 May 2015 12:33:50 +0000 (UTC) Received: from localhost (ovpn-116-76.ams2.redhat.com [10.36.116.76]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4SCXnMj012435; Thu, 28 May 2015 08:33:50 -0400 Date: Thu, 28 May 2015 12:53:00 -0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [patch] Rename template parameter of std::__alloc_rebind Message-ID: <20150528123348.GO2985@redhat.com> References: <20150501152310.GD3618@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20150501152310.GD3618@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-05/txt/msg02632.txt.bz2 On 01/05/15 16:23 +0100, Jonathan Wakely wrote: >The name of this alias template is a copy&paste error, it should be >_Alloc. Tested powerpc64le-linux, committed to trunk. Also committed to gcc-5-branch. >commit a772309ec9fc300e57edd750fa32b8320d68004a >Author: Jonathan Wakely >Date: Fri May 1 16:12:16 2015 +0100 > > * include/bits/alloc_traits.h (__alloc_rebind): Change parameter name. > >diff --git a/libstdc++-v3/include/bits/alloc_traits.h b/libstdc++-v3/include/bits/alloc_traits.h >index d6c42ec..12c6c12 100644 >--- a/libstdc++-v3/include/bits/alloc_traits.h >+++ b/libstdc++-v3/include/bits/alloc_traits.h >@@ -72,8 +72,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION > typedef _Alloc<_Tp, _Args...> __type; > }; > >- template >- using __alloc_rebind = typename __alloctr_rebind<_Ptr, _Tp>::__type; >+ template >+ using __alloc_rebind = typename __alloctr_rebind<_Alloc, _Tp>::__type; > > /** > * @brief Uniform interface to all allocator types.