This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix typo in std::stack (PR libstdc++/81599)
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 31 Jul 2017 16:37:19 +0300
- Subject: Re: [PATCH] Fix typo in std::stack (PR libstdc++/81599)
- Authentication-results: sourceware.org; auth=none
- References: <20170731132559.GP3397@redhat.com>
On 31 July 2017 at 16:25, Marek Polacek <polacek@redhat.com> wrote:
> The documentation of std::stack says that the underlying container must support
> pop_front, but that is wrong, it meant to say pop_back, so this patch fixes
> that.
Indeed, the documentation has a copy-pasto originating from bits/stl_queue.h.
> Ok for trunk?
I can't approve the patch, but I suggest committing it as obvious.