std::forward_list optim for always equal allocator

Daniel Krügler daniel.kruegler@gmail.com
Mon Sep 11 20:39:00 GMT 2017


2017-09-11 22:36 GMT+02:00 François Dumont <frs.dumont@gmail.com>:
[..]
> So my remark was rather for the:
>
>       _Fwd_list_iterator() noexcept
>       : _M_node() { }
>
> that could simply be
>
>     _Fwd_list_iterator() = default;
>
> no ?

Yes, that should be fine.

- Daniel



More information about the Libstdc++ mailing list