diff --git a/docs/mkdocs/docs/api/basic_json/basic_json.md b/docs/mkdocs/docs/api/basic_json/basic_json.md index ee81ccac87..2aa9580907 100644 --- a/docs/mkdocs/docs/api/basic_json/basic_json.md +++ b/docs/mkdocs/docs/api/basic_json/basic_json.md @@ -83,6 +83,8 @@ basic_json(basic_json&& other) noexcept; elements are moved from, that is, containers whose elements are `const` when accessed through a `const` container. Non-owning ranges such as spans or iterator ranges (e.g., `gsl::span`, `std::span`) are copied, so converting an rvalue span leaves the referenced elements unchanged. + A user-defined view whose elements are `const` through a `const` view, but which does not own them, is + treated as owning; pass such a view as an lvalue to copy the elements. - **numbers**: [`number_integer_t`](number_integer_t.md), [`number_unsigned_t`](number_unsigned_t.md), [`number_float_t`](number_float_t.md), and all convertible number types such as `int`, `size_t`, `int64_t`, `float` or `double` can be used.