Updated nlohmann::basicjson::erase (markdown)
1 parent
f55b3b4eac
commit
15e5a7a5b3
1 file changed
+2
@@ -28,6 +28,8 @@ The iterator `pos` must be valid and dereferenceable. Thus the `end()` iterator
|
|||||||
|
|
||||||
The iterator `first` does not need to be dereferenceable if `first==last`: erasing an empty range is a no-op.
|
The iterator `first` does not need to be dereferenceable if `first==last`: erasing an empty range is a no-op.
|
||||||
|
|
||||||
|
If erase is called with valid and dereferenceable iterators for JSON values of type number, string, or boolean, the value will be changed to `null`.
|
||||||
|
|
||||||
## Parameter
|
## Parameter
|
||||||
|
|
||||||
- `pos`: iterator to the element to remove
|
- `pos`: iterator to the element to remove
|
||||||
|
|||||||
Reference in new issue
Block a user