...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructs an address containing a host and a port.
any_address( host_and_port value);
Results in an address with this->type() == address_type::host_and_port
, this->hostname() == value.hostname()
and this->port() == value.port()
.
*this
and value
will have independent
lifetimes (regular value semantics).
No-throw guarantee.