]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/include/experimental/netfwd
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / include / experimental / netfwd
1 // <experimental/netfwd> -*- C++ -*-
2
3 // Copyright (C) 2015-2019 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
10
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15
16 // Under Section 7 of GPL version 3, you are granted additional
17 // permissions described in the GCC Runtime Library Exception, version
18 // 3.1, as published by the Free Software Foundation.
19
20 // You should have received a copy of the GNU General Public License and
21 // a copy of the GCC Runtime Library Exception along with this program;
22 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
23 // <http://www.gnu.org/licenses/>.
24
25 /** @file experimental/netfwd
26 * This is a TS C++ Library header.
27 */
28
29 #ifndef _GLIBCXX_EXPERIMENTAL_NETFWD
30 #define _GLIBCXX_EXPERIMENTAL_NETFWD 1
31
32 #pragma GCC system_header
33
34 #if __cplusplus >= 201402L
35
36 // #define __cpp_lib_experimental_net 201803
37 // #define __cpp_lib_experimental_net_extensible 201803
38
39 #include <chrono>
40
41 namespace std _GLIBCXX_VISIBILITY(default)
42 {
43 _GLIBCXX_BEGIN_NAMESPACE_VERSION
44 namespace experimental
45 {
46 namespace net
47 {
48 inline namespace v1
49 {
50
51 /**
52 * @ingroup networking
53 * @{
54 */
55
56 class execution_context;
57 template<typename _Tp, typename _Executor>
58 class executor_binder;
59 template<typename _Executor>
60 class executor_work_guard;
61 class system_executor;
62 class executor;
63 template<typename _Executor>
64 class strand;
65
66 class io_service;
67
68 template<typename _Clock> struct wait_traits;
69 template<typename _Clock, typename _WaitTraits = wait_traits<_Clock>>
70 class basic_waitable_timer;
71 typedef basic_waitable_timer<chrono::system_clock> system_timer;
72 typedef basic_waitable_timer<chrono::steady_clock> steady_timer;
73 typedef basic_waitable_timer<chrono::high_resolution_clock>
74 high_resolution_timer;
75
76 template<typename _Protocol>
77 class basic_socket;
78 template<typename _Protocol>
79 class basic_datagram_socket;
80 template<typename _Protocol>
81 class basic_stream_socket;
82 template<typename _Protocol>
83 class basic_socket_acceptor;
84 template<typename _Protocol, typename _Clock = chrono::steady_clock,
85 typename _WaitTraits = wait_traits<_Clock>>
86 class basic_socket_streambuf;
87 template<typename _Protocol, typename _Clock = chrono::steady_clock,
88 typename _WaitTraits = wait_traits<_Clock>>
89 class basic_socket_iostream;
90
91 /// @}
92
93 namespace ip
94 {
95 /**
96 * @ingroup networking
97 * @{
98 */
99 class address;
100 class address_v4;
101 class address_v6;
102 class address_iterator_v4;
103 class address_iterator_v6;
104 class address_range_v4;
105 class address_range_v6;
106 class network_v4;
107 class network_v6;
108 template<typename _InternetProtocol>
109 class basic_endpoint;
110 template<typename _InternetProtocol>
111 class basic_resolver_entry;
112 template<typename _InternetProtocol>
113 class basic_resolver_results;
114 template<typename _InternetProtocol>
115 class basic_resolver;
116 class tcp;
117 class udp;
118 /// @}
119
120 } // namespace ip
121 } // namespace v1
122 } // namespace net
123 } // namespace experimental
124 _GLIBCXX_END_NAMESPACE_VERSION
125 } // namespace std
126
127 #endif // C++14
128
129 #endif // _GLIBCXX_EXPERIMENTAL_NETFWD