@@ -244,14 +244,14 @@ auto any::unthunkVariant(const any& a) -> const any& {
244auto any::operator[](const char rhs[]) const -> const any& {
244auto any::operator[](const char rhs[]) const -> const any& {
245 const any& variant = unthunkVariant(*this);
245 const any& variant = unthunkVariant(*this);
246 assert(variant.type == Type::Map);
246 assert(variant.type == Type::Map);
247− const any::map::const_iterator begin = variant.m->begin();
247+ const auto begin = variant.m->cbegin();
248− const any::map::const_iterator end = variant.m->end();
248+ const auto end = variant.m->cend();
249− for (any::map::const_iterator it = begin; it != end; ++it) {
249+ for (auto it = begin; it != end; ++it) {
250 if (it->first == rhs) {
250 if (it->first == rhs) {
251 return it->second;
251 return it->second;
254− for (any::map::const_iterator it = begin; it != end; ++it) {
254+ for (auto it = begin; it != end; ++it) {
255 if (strcmp(it->first, rhs) == 0) {
255 if (strcmp(it->first, rhs) == 0) {
256 return it->second;
256 return it->second;
@@ -274,14 +274,14 @@ auto any::operator[](const any& rhs) const -> const any& {
274auto any::contains(const char key[]) const -> bool {
274auto any::contains(const char key[]) const -> bool {
275 const any& variant = unthunkVariant(*this);
275 const any& variant = unthunkVariant(*this);
276 assert(variant.type == Type::Map);
276 assert(variant.type == Type::Map);
277− const any::map::const_iterator begin = variant.m->begin();
277+ const auto begin = variant.m->cbegin();
278− const any::map::const_iterator end = variant.m->end();
278+ const auto end = variant.m->cend();
279− for (any::map::const_iterator it = begin; it != end; ++it) {
279+ for (auto it = begin; it != end; ++it) {
280 if (it->first == key) {
280 if (it->first == key) {
281 return true;
281 return true;
284− for (any::map::const_iterator it = begin; it != end; ++it) {
284+ for (auto it = begin; it != end; ++it) {
285 if (strcmp(it->first, key) == 0) {
285 if (strcmp(it->first, key) == 0) {
286 return true;
286 return true;