From a3b7877fbbeac80f9b9daf8c075d8964b2ecff6f Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Wed, 8 Sep 2021 13:12:16 -0700 Subject: [PATCH] Add path_view difference_type --- include/boost/url/impl/path_view.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/url/impl/path_view.hpp b/include/boost/url/impl/path_view.hpp index e4ddeb60..525a7357 100644 --- a/include/boost/url/impl/path_view.hpp +++ b/include/boost/url/impl/path_view.hpp @@ -40,6 +40,8 @@ public: path_view::value_type; using pointer = value_type const*; using reference = value_type const&; + using difference_type = + std::ptrdiff_t; using iterator_category = std::forward_iterator_tag;