If c++17 is available jwt::string_view is just an alias for std::string_view.
I also removed .to_string method from jwt::string_view, because it was not compatible with std::string_view and in its place used string conversion which is compatible with both jwt::string_view and std::string_view.
If c++17 is available
jwt::string_view
is just an alias forstd::string_view
. I also removed.to_string
method fromjwt::string_view
, because it was not compatible withstd::string_view
and in its place used string conversion which is compatible with bothjwt::string_view
andstd::string_view
.