Fix broken links

fix #2333
This commit is contained in:
alandefreitas
2022-06-22 15:07:30 -03:00
parent 3272dc0aeb
commit eaa51201bd
10 changed files with 22 additions and 3 deletions
@@ -222,7 +222,9 @@ private:
subrange<false>
make_subrange(std::size_t pos, std::size_t n) const;
#ifndef BOOST_BEAST_DOXYGEN
friend struct buffers_adaptor_test_hook;
#endif
};
+6
View File
@@ -41,8 +41,10 @@ namespace beast {
class rate_policy_access
{
private:
#ifndef BOOST_BEAST_DOXYGEN
template<class, class, class>
friend class basic_stream;
#endif
template<class Policy>
static
@@ -101,7 +103,9 @@ private:
*/
class unlimited_rate_policy
{
#ifndef BOOST_BEAST_DOXYGEN
friend class rate_policy_access;
#endif
static std::size_t constexpr all =
(std::numeric_limits<std::size_t>::max)();
@@ -149,7 +153,9 @@ class unlimited_rate_policy
*/
class simple_rate_policy
{
#ifndef BOOST_BEAST_DOXYGEN
friend class rate_policy_access;
#endif
static std::size_t constexpr all =
(std::numeric_limits<std::size_t>::max)();
@@ -85,9 +85,11 @@ class basic_file_body<File>::value_type
// This body container holds a handle to the file
// when it is open, and also caches the size when set.
#ifndef BOOST_BEAST_DOXYGEN
friend class reader;
friend class writer;
friend struct basic_file_body;
#endif
// This represents the open file
File file_;
@@ -130,7 +130,9 @@ class basic_parser
template<bool OtherIsRequest>
friend class basic_parser;
#ifndef BOOST_BEAST_DOXYGEN
friend class basic_parser_test;
#endif
protected:
/// Default constructor
+4
View File
@@ -59,7 +59,9 @@ class basic_fields
std::allocator_traits<Allocator>::pointer>::value,
"Allocator must use regular pointers");
#ifndef BOOST_BEAST_DOXYGEN
friend class fields_test; // for `header`
#endif
struct element;
@@ -72,7 +74,9 @@ public:
/// The type of element used to represent a field
class value_type
{
#ifndef BOOST_BEAST_DOXYGEN
friend class basic_fields;
#endif
off_t off_;
off_t len_;
+2
View File
@@ -139,6 +139,7 @@ class stream
using control_cb_type =
std::function<void(frame_type, string_view)>;
#ifndef BOOST_BEAST_DOXYGEN
friend class close_test;
friend class frame_test;
friend class ping_test;
@@ -153,6 +154,7 @@ class stream
*/
static std::size_t constexpr max_control_frame_size = 2 + 8 + 4 + 125;
static std::size_t constexpr tcp_frame_size = 1536;
#endif
static time_point never() noexcept
{
@@ -54,8 +54,10 @@ struct stream_base
{
detail::decorator d_;
#ifndef BOOST_BEAST_DOXYGEN
template<class, bool>
friend class stream;
#endif
public:
// Move Constructor