Updated nlohmann::basic_json::erase (markdown)
1 parent
199e2dacf4
commit
d6330e7840
1 file changed
+6
-1
@@ -56,4 +56,9 @@ If erase is called with valid and dereferenceable iterators for JSON values of t
|
|||||||
1. `std::runtime_error` when called on null type.
|
1. `std::runtime_error` when called on null type.
|
||||||
2. `std::runtime_error` when called on null type.
|
2. `std::runtime_error` when called on null type.
|
||||||
3. `std::runtime_error` when called on non-array types. `std::out_of_range` when `idx >= size()`.
|
3. `std::runtime_error` when called on non-array types. `std::out_of_range` when `idx >= size()`.
|
||||||
4. `std::runtime_error` when called on non-object types. Any exceptions thrown by the `ObjectType::Compare` object.
|
4. `std::runtime_error` when called on non-object types. Any exceptions thrown by the `ObjectType::Compare` object.
|
||||||
|
|
||||||
|
## See also
|
||||||
|
|
||||||
|
- [**clear**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::clear)<br>
|
||||||
|
clears the contents
|
||||||
Reference in new issue
Block a user