asio
asio copied to clipboard
Asio C++ Library
Recently, I noticed that MSVC's `` was unnecessarily dragging in ``, and attempted to remove it in https://github.com/microsoft/STL/pull/4626. This revealed a lot of bugs in open-source projects, so I'll probably...
Hey guys, Is it possible to provide default constructor and move assignment to the `asio::experimental::promise`? We lack the ability to hold the promise as a default constructible class member data....
This pull request adds `override` qualifiers to overridden virtual member functions in some headers. It’s by no means exhaustive, but it allows an application using TCP and UDP sockets to...
clang 14 only defines `__cpp_coroutines` with `-std=c++2a`, it’s undefined with `-std=c++17`. This results in an undefined macro warning if you don’t check that it’s defined before comparing it to a...
I've read https://www.boost.org/doc/html/boost_asio/overview/core/concurrency_hint.html I want to clarify the following two descriptions: - BOOST_ASIO_CONCURRENCY_HINT_UNSAFE - Care must be taken to ensure that all operations on the io_context and any of its...
Compilation error occurs here https://github.com/chriskohlhoff/asio/blob/1f8d154829b902dbc45a651587c6c6df948358e8/asio/include/asio/impl/spawn.hpp#L692-L692 Due to missing `*` here https://github.com/chriskohlhoff/asio/blob/1f8d154829b902dbc45a651587c6c6df948358e8/asio/include/asio/impl/spawn.hpp#L672
As far as I see, it seems to be impossible to build asio with flags `ASIO_NO_EXCEPTIONS` and `ASIO_SEPARATE_COMPILATION` as disabling exceptions requires user to provide implementation of template function `asio::detail::throw_exception`:...
Excuse me. It‘s my fitst time to build asio from source code, but I havn't found the guidence about how to build. Pls help me
Excuse me. It‘s my fitst time to build asio from source code, but I havn't found the guidence about how to build. Pls help me
``` asio/ip/impl/address_v6.ipp:284:28: error: implicit conversion loses integer precision: 'unsigned long' to 'scope_id_type' (aka 'unsigned int') [-Werror,-Wshorten-64-to-32] ```