On Tue, 25 Mar 2025 at 17:31, Tomasz Kaminski wrote: > I have checked that _M_range_initialize is called only from constructors, > or _M_initialize_dispatch, that is directly called in the constructor. > So guards indeed seem to be redundant. > > Please add this to the comment message, and otherwise LGTM.
Done, thanks for the review. I checked the history, and the RAII guard was added there by r15-905-gd22eaeca7634b5 so a recent addition. That part of the change was not needed though.