boost::corosio::resolver_results

A range of entries produced by a resolver.

Synopsis

using resolver_results = std::vector<resolver_entry>;

Description

This is an alias for std::vector<resolver_entry>: a contiguous, owning range of the endpoints resolved by a query. It supports the full std::vector interface (iteration, size(), empty(), etc.).

Copying a resolver_results deep‐copies every entry, and each entry owns two std::string`s (the host and service names). When you want to hand a result to a sink that takes the range by value — such as `corosio::connect — pass an rvalue (std::move(results)) or use the iterator‐based connect overloads to avoid the copy.

Thread Safety

Distinct objects: Safe. Shared objects: Unsafe.

Created with MrDocs