2018-10-16 Jonathan Wakely <jwakely@redhat.com>
+ * include/experimental/bits/net.h: Move versioned namespace macros
+ to correct location.
+ * include/experimental/buffer: Likewise.
+ * include/experimental/executor: Likewise.
+ * include/experimental/internet: Likewise.
+ * include/experimental/io_context: Likewise.
+ * include/experimental/netfwd: Likewise.
+ * include/experimental/socket: Likewise.
+ * include/experimental/timer: Likewise.
+
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for headers used by Networking TS.
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace v1
} // namespace net
} // namespace experimental
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++14
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
#endif
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
-
} // namespace v1
} // namespace net
} // namespace experimental
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
-
template<>
struct is_error_code_enum<experimental::net::v1::stream_errc>
: public true_type {};
_GLIBCXX_END_NAMESPACE_VERSION
-
} // namespace std
#endif // C++14
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace v1
} // namespace net
} // namespace experimental
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
-
template<typename _Alloc>
struct uses_allocator<experimental::net::executor, _Alloc>
: true_type {};
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
namespace ip
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
static const int _S_name = IPV6_V6ONLY;
};
-_GLIBCXX_END_NAMESPACE_VERSION
-
- namespace unicast {
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
-
+ namespace unicast
+ {
/// Set the default number of hops (TTL) for outbound datagrams.
struct hops : __sockopt_crtp<hops>
{
name(const _Protocol& __p) const noexcept
{ return __p.family() == AF_INET6 ? IPV6_UNICAST_HOPS : IP_TTL; }
};
-
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace unicast
- namespace multicast {
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
-
+ namespace multicast
+ {
/// Request that a socket joins a multicast group.
struct join_group
{
}
};
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace multicast
// @}
{ return _Hash_impl::hash(__a.to_bytes()); }
};
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++14
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace v1
} // namespace net
} // namespace experimental
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++14
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
-
namespace ip
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
-
/**
* @ingroup networking
* @{
class udp;
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace ip
-
-
} // namespace v1
} // namespace net
} // namespace experimental
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++14
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
// @}
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace v1
} // namespace net
} // namespace experimental
struct is_error_code_enum<experimental::net::v1::socket_errc>
: public true_type {};
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++14
namespace std _GLIBCXX_VISIBILITY(default)
{
+_GLIBCXX_BEGIN_NAMESPACE_VERSION
namespace experimental
{
namespace net
{
inline namespace v1
{
-_GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* @ingroup networking
/// @}
-_GLIBCXX_END_NAMESPACE_VERSION
} // namespace v1
} // namespace net
} // namespace experimental
+_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std
#endif // C++14