This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Remove unnecessary forward declarations
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 21 Sep 2006 19:08:28 +0200
- Subject: Re: [Patch] Remove unnecessary forward declarations
- References: <4512B47E.4080108@suse.de>
> 2006-09-21 Paolo Carlini <pcarlini@suse.de>
>
> * include/ext/hash_map: Remove forward declaration of equality
> operator, not needed for friendship of all its istances.
> * include/ext/hash_set: Likewise.
> * include/bits/stl_set.h: Likewise for equality operator and
> operator less.
> * include/bits/stl_multiset.h: Likewise.
> * include/bits/stl_multimap.h: Likewise.
> * include/bits/stl_queue.h: Likewise.
> * include/bits/stl_stack.h: Likewise.
> * include/bits/streambuf_iterator.h: Likewise for copy.
> * include/std/std_streambuf.h: Likewise for __copy_aux and find.
> * include/tr1/boost_shared_ptr.h: Likewise for get_deleter.
> * include/tr1/random: Likewise, remove all forward declarations
> of inserters and extractors.
Looks good to me.
-benjamin