std::forward_list optim for always equal allocator

Jonathan Wakely jwakely@redhat.com
Mon Sep 11 22:10:00 GMT 2017


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.




More information about the Libstdc++ mailing list