Skip to content

get_io_service deprecated and then removed in boost 1.70 #23

Description

@adrianboston

get_io_service deprecated and then removed in boost 1.70

rstudio/rstudio#4636

The previously deprecated get_io_context and get_io_service member functions have now been removed.
The previously deprecated service template parameters, and the corresponding classes, have now been removed.
Added a new async_result form with an initiate static member function.

Looks like .get_executor().context() should be used instead, and most usages of io_service should become io_context.

https://stackoverflow.com/questions/56327920/how-to-get-the-io-context-from-a-strand-in-boost-1-68

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions