11 #ifndef ASIO_IP_RESOLVER_QUERY_BASE_HPP 12 #define ASIO_IP_RESOLVER_QUERY_BASE_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 32 #if defined(GENERATING_DOCUMENTATION) 33 typedef unspecified
flags;
41 static const flags
passive = implementation_defined;
45 static const flags
numeric_host = implementation_defined;
53 static const flags
v4_mapped = implementation_defined;
56 static const flags
all_matching = implementation_defined;
78 return static_cast<flags
>(
79 static_cast<unsigned int>(x) & static_cast<unsigned int>(y));
84 return static_cast<flags
>(
85 static_cast<unsigned int>(x) | static_cast<unsigned int>(y));
90 return static_cast<flags
>(
91 static_cast<unsigned int>(x) ^ static_cast<unsigned int>(y));
96 return static_cast<flags
>(~static_cast<
unsigned int>(x));
130 #endif // ASIO_IP_RESOLVER_QUERY_BASE_HPP
friend flags operator|(flags x, flags y)
friend flags operator^(flags x, flags y)
friend flags & operator^=(flags &x, flags y)
friend flags & operator&=(flags &x, flags y)
friend flags operator~(flags x)
~resolver_query_base()
Protected destructor to prevent deletion through this type.
friend flags operator&(flags x, flags y)
friend flags & operator|=(flags &x, flags y)