11 #ifndef ASIO_GENERIC_DETAIL_ENDPOINT_HPP 12 #define ASIO_GENERIC_DETAIL_ENDPOINT_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 38 std::size_t sock_addr_size,
int sock_protocol);
44 protocol_(other.protocol_)
53 protocol_ = other.protocol_;
60 return data_.base.sa_family;
98 const endpoint& e1,
const endpoint& e2);
102 const endpoint& e1,
const endpoint& e2);
120 std::size_t sock_addr_size,
int sock_protocol);
129 #if defined(ASIO_HEADER_ONLY) 131 #endif // defined(ASIO_HEADER_ONLY) 133 #endif // ASIO_GENERIC_DETAIL_ENDPOINT_HPP endpoint(const endpoint &other)
ASIO_DECL friend bool operator==(const endpoint &e1, const endpoint &e2)
sockaddr_storage sockaddr_storage_type
asio::basic_streambuf< Allocator > MatchCondition enable_if< is_match_condition< MatchCondition >::value >::type *detail::async_result_init< ReadHandler, void(asio::error_code, std::size_t)> init(ASIO_MOVE_CAST(ReadHandler)(handler))
sockaddr socket_addr_type
ASIO_DECL friend bool operator<(const endpoint &e1, const endpoint &e2)
ASIO_DECL void resize(std::size_t size)
asio::detail::socket_addr_type * data()
endpoint & operator=(const endpoint &other)
const asio::detail::socket_addr_type * data() const
std::size_t capacity() const