This question may seem lame, but I did not find a clear answer. Can I assume that the iterator returned by the method map find()will point to the same data, even if I add (or delete) other elements to the same map? It is not clear to me if the iterator mappoints to a position in mapor to specific data ...
map
find()
You can continue to use the same iterator after operations insertor erase. The standard says (C ++ 03 standard, section 23.1.2, paragraph 8):
insert
erase
, .
(map, set, multimap, multiset).
set
multimap
multiset
Source: https://habr.com/ru/post/1787108/More articles:How to make scrolling news like Top Tweets on Twitter homepage? (PHP) - jquerySQL Server 2008 R2 for MongoDB - is it safe to migrate data? - sql-serverWhy is this code compiling? (Question to the C ++ template) - c ++Parameterizing an import statement - pythonHow to optimize a SQL query with two sentences? - mysqlMake brackets optional in function calls - javascriptoperator implementation * in C ++ - c ++defining a caller when working with dlopen () objects - chttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1787112/determining-whether-a-window-is-in-desktop-bounds-c&usg=ALkJrhhstHzjMZYfmuVGqnt9C7tGgynkUwThe correct way to handle java web application launch error - javaAll Articles