On Mon, Jul 31, 2017 at 04:37:19PM +0300, Ville Voutilainen wrote:
> On 31 July 2017 at 16:25, Marek Polacek 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.
>
On 31 July 2017 at 16:25, Marek Polacek 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.
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.
Ok for trunk?
2017-07-31 Marek Polacek
PR libstdc++/81599
* include/bits/stl_stack.h: Fix typo.
diff --git gcc/inc