8 #ifndef CPROVER_ANALYSES_VARIABLE_SENSITIVITY_MAP_VISIT_H
9 #define CPROVER_ANALYSES_VARIABLE_SENSITIVITY_MAP_VISIT_H
11 template <
class mapt,
class visitort>
14 bool modified =
false;
15 for(
auto &item : map.get_view())
17 auto newval = visitor.visit(item.second);
18 if(newval != item.second)
20 map.replace(item.first, std::move(newval));
bool visit_map(mapt &map, const visitort &visitor)