Home | History | Annotate | Download | only in asio

Lines Matching refs:asio

15 #include "asio/detail/config.hpp"
16 #include "asio/error_code.hpp"
17 #include "asio/system_error.hpp"
27 #include "asio/detail/push_options.hpp"
29 namespace asio {
192 inline const asio::error_category& get_system_category()
194 return asio::system_category();
199 const asio::error_category& get_netdb_category();
202 const asio::error_category& get_addrinfo_category();
206 const asio::error_category& get_misc_category();
208 static const asio::error_category& system_category
209 = asio::error::get_system_category();
210 static const asio::error_category& netdb_category
211 = asio::error::get_netdb_category();
212 static const asio::error_category& addrinfo_category
213 = asio::error::get_addrinfo_category();
214 static const asio::error_category& misc_category
215 = asio::error::get_misc_category();
218 } // namespace asio
222 template<> struct is_error_code_enum<asio::error::basic_errors>
227 template<> struct is_error_code_enum<asio::error::netdb_errors>
232 template<> struct is_error_code_enum<asio::error::addrinfo_errors>
237 template<> struct is_error_code_enum<asio::error::misc_errors>
244 namespace asio {
247 inline asio::error_code make_error_code(basic_errors e)
249 return asio::error_code(
253 inline asio::error_code make_error_code(netdb_errors e)
255 return asio::error_code(
259 inline asio::error_code make_error_code(addrinfo_errors e)
261 return asio::error_code(
265 inline asio::error_code make_error_code(misc_errors e)
267 return asio::error_code(
272 } // namespace asio
274 #include "asio/detail/pop_options.hpp"
282 # include "asio/impl/error.ipp"