This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: unordered containers: reuse nodes on assignment
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <frs dot dumont at gmail dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 30 Jun 2013 21:22:39 +0200
- Subject: Re: unordered containers: reuse nodes on assignment
- References: <51D083D4 dot 9090401 at gmail dot com>
Hi,
> Note that the friend declaration for _ReuseOrAllocNode used to be
>wrong because I had left a template parameter on the friend declaration
>
>that I finally removed on the definition. But gcc didn't complained and
>
>use it as a valid friend declaration, should it be reported as a gcc
>bug ?
Only if you can't find a duplicate in Bugzilla and then of course in minimized form (if I understand correctly, ~10 lines without includes should be enough)
Paolo