Updated nlohmann::basicjson::empty (markdown)

Niels committed 2015-04-11 16:18:28 +02:00
1 parent 673a7300cf
commit d312c9bdec
1 file changed
+4 -4
+4 -4
@@ -6,6 +6,10 @@ bool empty() const;
Checks if a JSON value has no elements, i.e. whether `begin() == end()`.
## Parameters
None.
## Return value
The return value depends on the different value types and is defined as follows:
@@ -19,10 +23,6 @@ The return value depends on the different value types and is defined as follows:
| object | `ObjectType::empty()` |
| array | `ArrayType::empty()` |
## Parameter
None.
## Complexity
Constant, as long as `ArrayType` and `ObjectType` satisfy the [Container concept](http://en.cppreference.com/w/cpp/concept/Container).