mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
@ -52,13 +52,13 @@ template <typename IteratorType> class iteration_proxy_value
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// equality operator (needed for InputIterator)
|
/// equality operator (needed for InputIterator)
|
||||||
bool operator==(const iteration_proxy_value& o) const noexcept
|
bool operator==(const iteration_proxy_value& o) const
|
||||||
{
|
{
|
||||||
return anchor == o.anchor;
|
return anchor == o.anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// inequality operator (needed for range-based for)
|
/// inequality operator (needed for range-based for)
|
||||||
bool operator!=(const iteration_proxy_value& o) const noexcept
|
bool operator!=(const iteration_proxy_value& o) const
|
||||||
{
|
{
|
||||||
return anchor != o.anchor;
|
return anchor != o.anchor;
|
||||||
}
|
}
|
||||||
|
@ -1700,13 +1700,13 @@ template <typename IteratorType> class iteration_proxy_value
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// equality operator (needed for InputIterator)
|
/// equality operator (needed for InputIterator)
|
||||||
bool operator==(const iteration_proxy_value& o) const noexcept
|
bool operator==(const iteration_proxy_value& o) const
|
||||||
{
|
{
|
||||||
return anchor == o.anchor;
|
return anchor == o.anchor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// inequality operator (needed for range-based for)
|
/// inequality operator (needed for range-based for)
|
||||||
bool operator!=(const iteration_proxy_value& o) const noexcept
|
bool operator!=(const iteration_proxy_value& o) const
|
||||||
{
|
{
|
||||||
return anchor != o.anchor;
|
return anchor != o.anchor;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user