From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2100) id DCDF539878C8; Tue, 18 Aug 2020 01:20:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DCDF539878C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597713658; bh=GFPxJlOwlwSJvTV7L8P5YM7hsqcKiVpZb10bv5UK+18=; h=From:To:Subject:Date:From; b=g2tkYGxB8jNCh4Tanxwo1+sN2c+B9nY7Vul9WhhOU5jg32xRSk5vSo4HERCuPRxPF LapTp8/u8ds31yN7b8qjgI0n7mG0qD/KcItCHyVhWHn5QDmlZ3fgaPheDY43jA9S+v yB6nF4TFYhZ0h+HXnIPRSNAOX0LTb/0ifLMHL+k0= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Giuliano Belinassi To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/users/giulianob/heads/autopar_rebase2)] libstdc++: Remove condition around friend declaration (PR 96382) X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/users/giulianob/heads/autopar_rebase2 X-Git-Oldrev: 2ada22cb5806b840940a2efda648dcd941abbe75 X-Git-Newrev: b59807a09e2734e327311b7ee07764494b7864d7 Message-Id: <20200818012058.DCDF539878C8@sourceware.org> Date: Tue, 18 Aug 2020 01:20:58 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 01:20:59 -0000 https://gcc.gnu.org/g:b59807a09e2734e327311b7ee07764494b7864d7 commit b59807a09e2734e327311b7ee07764494b7864d7 Author: Jonathan Wakely Date: Fri Jul 31 19:55:28 2020 +0100 libstdc++: Remove condition around friend declaration (PR 96382) libstdc++-v3/ChangeLog: PR libstdc++/96382 * include/bits/stl_iterator.h (reverse_iterator): Friend declaration should not depend on __cplusplus. Diff: --- libstdc++-v3/include/bits/stl_iterator.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index 60bb40a659f..08e25d842dd 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -129,10 +129,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename iterator_traits<_Iterator>::pointer, typename iterator_traits<_Iterator>::reference> { -#if __cplusplus >= 201103L template friend class reverse_iterator; -#endif #if __cpp_lib_concepts // _GLIBCXX_RESOLVE_LIB_DEFECTS