mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
Merge pull request #130 from dariomt/patch-1
removed stream operator for iterator, resolution for #125
This commit is contained in:
@ -5729,12 +5729,6 @@ class basic_json
|
|||||||
return anchor != o.anchor;
|
return anchor != o.anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// stream operator
|
|
||||||
friend std::ostream& operator<<(std::ostream& o, const iterator_wrapper_internal& w)
|
|
||||||
{
|
|
||||||
return o << w.value();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// return key of the iterator
|
/// return key of the iterator
|
||||||
typename basic_json::string_t key() const
|
typename basic_json::string_t key() const
|
||||||
{
|
{
|
||||||
|
@ -5729,12 +5729,6 @@ class basic_json
|
|||||||
return anchor != o.anchor;
|
return anchor != o.anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// stream operator
|
|
||||||
friend std::ostream& operator<<(std::ostream& o, const iterator_wrapper_internal& w)
|
|
||||||
{
|
|
||||||
return o << w.value();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// return key of the iterator
|
/// return key of the iterator
|
||||||
typename basic_json::string_t key() const
|
typename basic_json::string_t key() const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user