template <BOOST_ASIO_VARIADIC_TPARAMS(n)> \
basic_socket_streambuf<Protocol, StreamSocketService, \
Time, TimeTraits, TimerService>*
connect(BOOST_ASIO_VARIADIC_PARAMS(
n)) \
{ \
this->basic_socket<Protocol, StreamSocketService>::close(ec_); \
typedef typename Protocol::resolver resolver_type; \
resolver_query
query(BOOST_ASIO_VARIADIC_ARGS(
n)); \
resolve_and_connect(
query); \
return !ec_ ? this : 0; \
} \
Iterator connect(basic_socket< Protocol, SocketService > &s, Iterator begin)
Establishes a socket connection by trying each endpoint in a sequence.
#define n
Definition: register_functions_iterate.hpp:7
rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator >::size_type query(rtree< Value, Parameters, IndexableGetter, EqualTo, Allocator > const &tree, Predicates const &predicates, OutIter out_it)
Finds values meeting passed predicates e.g.
Definition: rtree.hpp:1752
return * this
Definition: gmp.hpp:1779