This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::forward_list optim for always equal allocator


On 11/09/17 22:39 +0200, Daniel Krügler wrote:
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.

I'm not sure there's much benefit to that change.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]