+2019-05-08 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/experimental/bits/fs_path.h: Improve docs.
+ * include/experimental/bits/net.h: Fix wrong header name in comment.
+ Do not document implementation details.
+ * include/experimental/netfwd: Fix doxygen grouping.
+
2019-05-07 Jonathan Wakely <jwakely@redhat.com>
* include/bits/stl_pair.h: Improve docs.
/** @file experimental/bits/net.h
* This is an internal header file, included by other library headers.
- * Do not attempt to use it directly. @headername{experimental/networking}
+ * Do not attempt to use it directly. @headername{experimental/net}
*/
#ifndef _GLIBCXX_EXPERIMENTAL_NET_H
template<typename _CompletionToken, typename _Signature, typename>
class async_result;
+ /// @cond undocumented
+
// A type denoted by DEDUCED in the TS.
template<typename _CompletionToken, typename _Signature>
using __deduced_t = typename
is_constructible<_Tp, _Tp&>, is_constructible<_Tp, const _Tp&&>
>::type;
- struct __throw_on_error
+ struct __throw_on_error
+ {
+ explicit
+ __throw_on_error(const char* __msg) : _M_msg(__msg) { }
+
+ ~__throw_on_error() noexcept(false)
{
- explicit
- __throw_on_error(const char* __msg) : _M_msg(__msg) { }
+ if (_M_ec)
+ _GLIBCXX_THROW_OR_ABORT(system_error(_M_ec, _M_msg));
+ }
- ~__throw_on_error() noexcept(false)
- {
- if (_M_ec)
- _GLIBCXX_THROW_OR_ABORT(system_error(_M_ec, _M_msg));
- }
+ __throw_on_error(const __throw_on_error&) = delete;
+ __throw_on_error& operator=(const __throw_on_error&) = delete;
- __throw_on_error(const __throw_on_error&) = delete;
- __throw_on_error& operator=(const __throw_on_error&) = delete;
+ operator error_code&() noexcept { return _M_ec; }
- operator error_code&() noexcept { return _M_ec; }
+ const char* _M_msg;
+ error_code _M_ec;
+ };
- const char* _M_msg;
- error_code _M_ec;
- };
+ /// @endcond
// Base class for types meeting IntegerSocketOption requirements.
template<typename _Tp>