11 #ifndef ASIO_IP_RESOLVER_BASE_HPP 12 #define ASIO_IP_RESOLVER_BASE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 18 #include "asio/detail/config.hpp" 19 #include "asio/detail/socket_types.hpp" 21 #include "asio/detail/push_options.hpp" 31 #if defined(GENERATING_DOCUMENTATION) 32 typedef unspecified flags;
36 static const flags canonical_name = implementation_defined;
40 static const flags passive = implementation_defined;
44 static const flags numeric_host = implementation_defined;
48 static const flags numeric_service = implementation_defined;
52 static const flags v4_mapped = implementation_defined;
55 static const flags all_matching = implementation_defined;
60 static const flags address_configured = implementation_defined;
64 canonical_name = ASIO_OS_DEF(AI_CANONNAME),
65 passive = ASIO_OS_DEF(AI_PASSIVE),
66 numeric_host = ASIO_OS_DEF(AI_NUMERICHOST),
67 numeric_service = ASIO_OS_DEF(AI_NUMERICSERV),
68 v4_mapped = ASIO_OS_DEF(AI_V4MAPPED),
69 all_matching = ASIO_OS_DEF(AI_ALL),
70 address_configured = ASIO_OS_DEF(AI_ADDRCONFIG)
75 friend flags operator&(flags x, flags y)
77 return static_cast<flags
>(
78 static_cast<unsigned int>(x) & static_cast<unsigned int>(y));
81 friend flags operator|(flags x, flags y)
83 return static_cast<flags
>(
84 static_cast<unsigned int>(x) | static_cast<unsigned int>(y));
87 friend flags operator^(flags x, flags y)
89 return static_cast<flags
>(
90 static_cast<unsigned int>(x) ^ static_cast<unsigned int>(y));
93 friend flags operator~(flags x)
95 return static_cast<flags
>(~static_cast<
unsigned int>(x));
98 friend flags& operator&=(flags& x, flags y)
104 friend flags& operator|=(flags& x, flags y)
110 friend flags& operator^=(flags& x, flags y)
127 #include "asio/detail/pop_options.hpp" 129 #endif // ASIO_IP_RESOLVER_BASE_HPP ~resolver_base()
Protected destructor to prevent deletion through this type.
Definition: resolver_base.hpp:119
The resolver_base class is used as a base for the basic_resolver class templates to provide a common ...
Definition: resolver_base.hpp:28
Definition: any_io_executor.hpp:28