public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/giulianob/heads/autopar_rebase2)] libstdc++: Remove condition around friend declaration (PR 96382)
@ 2020-08-18  1:20 Giuliano Belinassi
  0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-18  1:20 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:b59807a09e2734e327311b7ee07764494b7864d7

commit b59807a09e2734e327311b7ee07764494b7864d7
Author: Jonathan Wakely <jwakely@redhat.com>
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<typename _Iter>
 	friend class reverse_iterator;
-#endif
 
 #if __cpp_lib_concepts
       // _GLIBCXX_RESOLVE_LIB_DEFECTS


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-18  1:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18  1:20 [gcc(refs/users/giulianob/heads/autopar_rebase2)] libstdc++: Remove condition around friend declaration (PR 96382) Giuliano Belinassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).