<deque>
: many internal operations could use unchecked iterators
#2868
Labels
<deque>
: many internal operations could use unchecked iterators
#2868
deque
is inconsistent about using checked vs. unchecked iterators for internal operations where checking is not needed.emplace
, for example:STL/stl/inc/deque
Lines 819 to 835 in ef62d3f
passes checked iterators to
rotate
which could as well be unchecked - we know that the ranges we're forming are valid. We need to audit the file for such occurrences and change them to use unchecked iterators (returned from_Unchecked_begin
and_Unchecked_end
) where possible.The text was updated successfully, but these errors were encountered: