Fix description of make_network_*() functions.

This commit is contained in:
Christopher Kohlhoff 2016-09-22 09:40:32 +10:00
parent 41cf38be81
commit 6503b3f33a
2 changed files with 12 additions and 6 deletions

View File

@ -183,20 +183,23 @@ inline network_v4 make_network_v4(
*/
ASIO_DECL network_v4 make_network_v4(const char* str);
/// Create an IPv4 address from an IP address string in dotted decimal form.
/// Create an IPv4 network from a string containing IP address and prefix
/// length.
/**
* @relates network_v4
*/
ASIO_DECL network_v4 make_network_v4(
const char* str, asio::error_code& ec);
/// Create an IPv4 address from an IP address string in dotted decimal form.
/// Create an IPv4 network from a string containing IP address and prefix
/// length.
/**
* @relates network_v4
*/
ASIO_DECL network_v4 make_network_v4(const std::string& str);
/// Create an IPv4 address from an IP address string in dotted decimal form.
/// Create an IPv4 network from a string containing IP address and prefix
/// length.
/**
* @relates network_v4
*/

View File

@ -157,20 +157,23 @@ inline network_v6 make_network_v6(
*/
ASIO_DECL network_v6 make_network_v6(const char* str);
/// Create an IPv6 address from an IP address string in dotted decimal form.
/// Create an IPv6 network from a string containing IP address and prefix
/// length.
/**
* @relates network_v6
*/
ASIO_DECL network_v6 make_network_v6(
const char* str, asio::error_code& ec);
/// Create an IPv6 address from an IP address string in dotted decimal form.
/// Create an IPv6 network from a string containing IP address and prefix
/// length.
/**
* @relates network_v6
*/
ASIO_DECL network_v6 make_network_v6(const std::string& str);
/// Create an IPv6 address from an IP address string in dotted decimal form.
/// Create an IPv6 network from a string containing IP address and prefix
/// length.
/**
* @relates network_v6
*/