This commit is contained in:
nlohmann
2026-10-09 13:28:55 +00:00
parent 1eb9589abb
commit 60e9652b7f
4 changed files with 6 additions and 5 deletions

View File

@@ -26,7 +26,8 @@ To store objects in C++, a type is defined by the template parameters described
`StringType`
: the type of the keys or names (e.g., `std::string`). The comparison function `std::less<StringType>` is used to
order elements inside the container.
order elements inside the container. `object_t::key_type` must be implicitly convertible to `string_t` (required by the
binary formats).
`AllocatorType`
: the allocator to use for objects (e.g., `std::allocator`)