From 40bc5ef154c2c450c92e91c735dad12dd70edee6 Mon Sep 17 00:00:00 2001 From: alandefreitas Date: Fri, 12 Aug 2022 17:44:51 -0300 Subject: [PATCH] params and segments link to type fix #386 --- include/boost/url/url_base.hpp | 19 ++++++++++++++++++- include/boost/url/url_view_base.hpp | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/include/boost/url/url_base.hpp b/include/boost/url/url_base.hpp index b2f05c18..4053e95f 100644 --- a/include/boost/url/url_base.hpp +++ b/include/boost/url/url_base.hpp @@ -998,6 +998,11 @@ public: @par Specification @li 3.3. Path (rfc3986) + + @see + @ref urls::segments_encoded, + @ref segments. + */ BOOST_URL_DECL segments_encoded @@ -1019,6 +1024,10 @@ public: @par Specification @li 3.3. Path (rfc3986) + + @see + @ref urls::segments, + @ref encoded_segments. */ urls::segments segments() noexcept @@ -1157,6 +1166,10 @@ public: query-param = key [ "=" value ] @endcode + + @see + @ref urls::params_encoded, + @ref params. */ urls::params_encoded encoded_params() noexcept @@ -1178,9 +1191,13 @@ public: query-param = key [ "=" value ] @endcode + @see + @ref urls::params, + @ref encoded_params. + */ urls::params - params() + params() noexcept { return {*this}; } diff --git a/include/boost/url/url_view_base.hpp b/include/boost/url/url_view_base.hpp index f03b0fd7..05ba8a37 100644 --- a/include/boost/url/url_view_base.hpp +++ b/include/boost/url/url_view_base.hpp @@ -1458,6 +1458,11 @@ public: @par Specification @li 3.3. Path (rfc3986) + + @see + @ref urls::segments_encoded_view, + @ref segments. + */ segments_encoded_view encoded_segments() const noexcept @@ -1482,6 +1487,11 @@ public: @par Specification @li 3.3. Path (rfc3986) + + @see + @ref urls::segments_view, + @ref encoded_segments. + */ segments_view segments() const noexcept @@ -1628,6 +1638,10 @@ public: @par Specification @li 3.4. Query (rfc3986) + + @see + @ref urls::params_encoded_view, + @ref params. */ BOOST_URL_DECL params_encoded_view @@ -1651,6 +1665,10 @@ public: @par Specification @li 3.4. Query (rfc3986) + + @see + @ref urls::params_view, + @ref encoded_params. */ BOOST_URL_DECL params_view