Deprecate json_pointer/string_t comparisons (#3684)

* Deprecate json_pointer/string_t comparisons

* Update documentation
This commit is contained in:
Florian Albrechtskirchinger authored and GitHub committed 2022-08-07 22:26:59 +02:00
1 parent e1a3fb74ba
commit a92ccafd2c
4 files changed
+22 -2

No files matched your search

@@ -71,6 +71,12 @@ whether the values `lhs`/`*this` and `rhs` are equal
Constant if `lhs` and `rhs` differ in the number of reference tokens, otherwise linear in the number of reference
tokens.
## Notes
!!! warning "Deprecation"
Overload 2 is deprecated and will be removed in a future major version release.
## Examples
??? example "Example: (1) Comparing JSON pointers"
@@ -104,4 +110,4 @@ tokens.
## Version history
1. Added in version 2.1.0. Added C++20 member functions in version 3.11.2.
2. Added in version 3.11.2.
2. Added for backward compatibility and deprecated in version 3.11.2.
@@ -69,6 +69,10 @@ tokens.
Since C++20 overload resolution will consider the _rewritten candidate_ generated from
[`operator==`](operator_eq.md).
!!! warning "Deprecation"
Overload 2 is deprecated and will be removed in a future major version release.
## Examples
??? example "Example: (1) Comparing JSON pointers"
@@ -102,4 +106,4 @@ tokens.
## Version history
1. Added in version 2.1.0.
2. Added in version 3.11.2.
2. Added for backward compatibility and deprecated in version 3.11.2.