Skip to content

Replace from_string with make_address in documentation examples. - #1773

Open
dornbirndevelops wants to merge 1 commit into
chriskohlhoff:masterfrom
dornbirndevelops:docs/update-deprecated-from-string-usages
Open

dornbirndevelops wants to merge 1 commit into
chriskohlhoff:masterfrom
dornbirndevelops:docs/update-deprecated-from-string-usages

Conversation

@dornbirndevelops

@dornbirndevelops dornbirndevelops commented Sep 21, 2026 •

Copy link
Copy Markdown

The ip::address::from_string and ip::address_v4::from_string functions were deprecated in favour of make_address and make_address_v4, and removed in asio 1.34.0.
Several code snippets still used them, so the examples no longer compile as written.
Update those snippets to the current free functions. No library code is affected.

The ip::address::from_string and ip::address_v4::from_string functions were deprecated in favour of make_address and make_address_v4, and removed in asio 1.34.0.
Several code snippets still used them, so the examples no longer compile as written.
Update those snippets to the current free functions.
No library code is affected.
@dornbirndevelops

Copy link
Copy Markdown
Author

Should the usages in reference.qbk also be adjusted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant