Investigate better approach to value to string-ish comparison
Open
- Dominant language
- C++
- Stars
- 479
- Forks
- 110
- Avg merge
- 10d 3h
- Merged PRs (30d)
- 5
Description
Currently:
```c++
friend
bool
operator==(
value const& lhs,
value const& rhs) noexcept
{
return lhs.equal(rhs);
}
```
Thus, `jv == "some string"` is equivalent to `jv == value("some string")`, which allocates.
Consider adding an overload similar to one for `string` .
Contributor guide
Assessment
This issue has not been assessed yet.