Tidy up test::stream javadocs

This commit is contained in:
Vinnie Falco committed 2018-05-29 15:32:01 -07:00
1 parent 5b8eb1d87d
commit f5def127d8
6 files changed
+22 -7

No files matched your search

@@ -79,7 +79,7 @@ namespace beast {
*/
template<class NextLayer>
class flat_stream
#ifndef BOOST_BEAST_DOXYGEN
#if ! BOOST_BEAST_DOXYGEN
: private detail::flat_stream_base
#endif
{
@@ -472,7 +472,7 @@ public:
template<class ConstBufferSequence>
std::size_t
write_some(
ConstBufferSequence const& buffers, error_code&);
ConstBufferSequence const& buffers, error_code& ec);
/** Start an asynchronous write.
@@ -502,7 +502,7 @@ public:
async_write_some(ConstBufferSequence const& buffers,
WriteHandler&& handler);
#ifndef BOOST_BEAST_DOXYGEN
#if ! BOOST_BEAST_DOXYGEN
friend
void
teardown(
@@ -520,14 +520,27 @@ public:
#endif
};
/// Create and return a connected stream
#if BOOST_BEAST_DOXYGEN
/** Return a new stream connected to the given stream
@param to The stream to connect to.
@param args Optional arguments forwarded to the new stream's constructor.
@return The new, connected stream.
*/
template<class... Args>
stream
connect(stream& to, Args&&... args);
#else
stream
connect(stream& to);
/// Create and return a connected stream
template<class Arg1, class... ArgN>
stream
connect(stream& to, Arg1&& arg1, ArgN&&... argn);
#endif
} // test
} // beast
+1 -1
View File
@@ -52,7 +52,7 @@ namespace http {
*/
template<class Allocator>
class basic_fields
#ifndef BOOST_BEAST_DOXYGEN
#if ! BOOST_BEAST_DOXYGEN
: private beast::detail::empty_base_optimization<Allocator>
#endif
{
+1 -1
View File
@@ -125,7 +125,7 @@ template<
class NextLayer,
bool deflateSupported>
class stream
#ifndef BOOST_BEAST_DOXYGEN
#if ! BOOST_BEAST_DOXYGEN
: private detail::stream_base<deflateSupported>
#endif
{