From be8590edc025b66263170113de0be425b1c66c79 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Tue, 24 Dec 2024 22:21:47 -0500 Subject: [PATCH] CHANGELOG update --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9325172bed..442dcbd9c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,9 @@ - API Changes - - Non-const `basic_json::operator[]` no longer returns a proxy type. The rationale for this change is given in #315. + - Non-const `basic_json::operator[const string_view_type& key]` no longer returns a proxy type. The rationale for this change is given in Git Issue #315. The new behavior for the non-const overload of `operator[](const string_view_type& key)` is consistent with the standard library - `std::map` behavior, that is, return a reference to the value that is associated with `key`, inserting a default + `std::map` behavior, which is to return a reference to the value that is associated with `key`, inserting a default constructed value with the key if no such key already exists. The new behavior for the const overload of `operator[](const string_view_type& key)` is to return a const reference to the value that is associated with `key`, returning a const reference to a default