Closed
Conversation
merged with master too
* Use asio::steady_timer rather than asio::deadline_timer. * Use asio::dynamic_buffer rather than asio::streambuf. * Use timed asio::io_context::run_for() function for blocking clients. * Add example showing a custom completion token for blocking with timeouts.
Define ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the old Boost.Date_Time interface in basic_socket_streambuf and basic_socket_iostream.
N.B. The Windows-specific tick_count_timer example has been removed as it has been superseded by timers based on the standard steady_clock. It's also not clear how to map a wrapping time source to the standard chrono concepts.
Fix prepare_memfn_helper test to use intended member function 'prepare' rather than 'data' copied by mistake from previous check.
This small changes fix building of the some standalone examples with MSVC. Includes: #include <ctime> # for std::time_t and std::ctime(); #include <numeric> # for std::iota(); #include <cctype> # for std::toupper().
…g_view for C++14. Define the preprocessor macro ASIO_DISABLE_STD_STRING_VIEW to force the use of std::experimental::string_view (assuming it is available) when compiling in C++17 mode.
merged with master too
…/asio into feature/conan_support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Based on make, it may be easy and simple to build with conan.io
With local cache, it is fast too.
The idea was inspired from https://github.com/pocoproject/conan-poco
see too http://docs.conan.io/en/latest/integrations/cmake.html?highlight=cmake