std::forward_list optim for always equal allocator

François Dumont frs.dumont@gmail.com
Tue Sep 12 20:41:00 GMT 2017


On 12/09/2017 00:10, Jonathan Wakely wrote:
> 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 
Sure, it would be a minor change.

Which is moreover not part of this patch proposal. Is the patch ok to 
commit ?

François



More information about the Libstdc++ mailing list