Closed
Description
-
What is the issue you have?
It is impossible su usejson_pointer<>::back()
onconst json_pointer
. -
What is the expected behavior?
I expect to be able to use on a const. Since it returns aconst std::string&
, and since it is implemented withstd::vector<>::back()
that has aconst
overload, I expect thejson_pointer<>::back()
has to be declaredconst
. -
And what is the actual behavior instead?
The function is not marked asconst
. -
Did you use a released version of the library or the version from the
develop
branch?
tested with 3.7.0.