Commit Graph

2255 Commits

Author SHA1 Message Date
Christopher Kohlhoff
694ed52843 Document the new concurrency hints. 2017-12-10 08:18:56 +11:00
Christopher Kohlhoff
3834d73633 Some updates to 'Using' notes. 2017-12-06 07:38:10 +11:00
Christopher Kohlhoff
00873ce91e Document Networking TS changes. 2017-12-06 00:04:07 +11:00
Christopher Kohlhoff
8f25ea4b55 Remove spurious value_type from buffer sequence requirements. 2017-12-05 08:22:13 +11:00
Christopher Kohlhoff
b33eb0219c gcc 4.7 is the minimum version required for std::allocator_traits. 2017-12-05 07:04:19 +11:00
Christopher Kohlhoff
036faf66a3 Use new move-enabled form of async_accept. 2017-12-04 09:32:15 +11:00
Christopher Kohlhoff
f723043196 Ensure that use_future<std::allocator<void>> is always constexpr default-constructible. 2017-12-04 07:50:27 +11:00
Christopher Kohlhoff
4ad7a397ce Add missing variadic template emulation in use_future. 2017-12-03 22:58:28 +11:00
Christopher Kohlhoff
5c591a4667 Disable buffer debugging for older MSVC, as it triggers compiler misbehaviour. 2017-12-03 19:18:29 +11:00
Christopher Kohlhoff
f8bd903af0 Add assign() and clear() functions to error_code. 2017-12-03 19:18:13 +11:00
Christopher Kohlhoff
db4c0e83f7 Disable boost.chrono error handling. 2017-12-03 19:17:12 +11:00
Christopher Kohlhoff
cca13eefa0 Document the new handler tracking features. 2017-12-03 14:20:37 +11:00
Christopher Kohlhoff
ff9d69e2fc Add check for _DEFAULT_SOURCE in addition to _BSD_SOURCE. 2017-12-02 23:32:35 +11:00
Christopher Kohlhoff
52498bbc64 Suppress recv truncation errors on Windows, to match POSIX behaviour. 2017-12-02 18:03:08 +11:00
Christopher Kohlhoff
e87c37ec9b Add documentation examples of using asio::post to submit work. 2017-12-02 16:18:15 +11:00
Christopher Kohlhoff
ad52c82d2d Create C++11 versions of the fork, local, multicast and nonblocking examples. 2017-12-02 16:18:15 +11:00
Christopher Kohlhoff
f16e39e78e Don't directly include <chrono>, to keep header C++03-compatible. 2017-12-02 10:54:24 +11:00
Christopher Kohlhoff
c016e1aec4 Boostify the TS headers. 2017-12-02 10:44:59 +11:00
Christopher Kohlhoff
559013298e Suppress MSVC dynamic initialisation warning. 2017-12-02 10:00:12 +11:00
Christopher Kohlhoff
efa18153dc Add tests to ensure the ts/* headers compile and are self-contained. 2017-12-02 09:57:01 +11:00
Christopher Kohlhoff
41fccd5651 asio/use_future.hpp is already in the convenience header. 2017-12-02 09:57:01 +11:00
Christopher Kohlhoff
2e743f7375 Add waitable timer headers to convenience header. 2017-12-02 09:15:38 +11:00
Christopher Kohlhoff
fe5470f4f3 Use new post() in serialization example. 2017-12-01 19:50:51 +11:00
Christopher Kohlhoff
45dcb33c2e Use asio::coroutine in latency tests. 2017-12-01 19:50:51 +11:00
Christopher Kohlhoff
e556aed8d9 Update invocation examples to use executors. 2017-12-01 19:50:51 +11:00
Christopher Kohlhoff
5a9d0721d8 Fix up reference to post(). 2017-12-01 12:21:36 +11:00
Christopher Kohlhoff
24050d5ea3 Show how to associate an executor using nested type and member function. 2017-12-01 12:21:36 +11:00
Christopher Kohlhoff
b02c6c7582 Update allocation overview and examples to use new form. 2017-12-01 12:21:36 +11:00
Christopher Kohlhoff
3218be74ec Fix typo in strands overview. 2017-11-30 08:08:07 +11:00
Christopher Kohlhoff
3152e77f84 Increase number of buffers per operation for consuming_buffers.
Use a smaller number of buffers when the count can be determined at compile
time, e.g. for std::array or boost::array.
2017-11-30 07:50:59 +11:00
Christopher Kohlhoff
5acae19713 Increase threshold for small memory block recycling to 1KB. 2017-11-29 09:16:49 +11:00
Christopher Kohlhoff
986ef7361b Make sure asio/system_context.hpp is self-contained. 2017-11-28 09:26:19 +11:00
Christopher Kohlhoff
c80c1cbd5c Don't call memcpy with length 0, to avoid passing null pointers. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
ede4e7597d Fix description of std::getline's behaviour. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
60170d6259 Fix copy/paste error in comment. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
cff2b49988 Fix clang narrowing warning. 2017-11-27 09:29:16 +11:00
Christopher Kohlhoff
a405709194 Fix incorrect hyperlink target. 2017-11-27 09:29:10 +11:00
Christopher Kohlhoff
fcaf75700b Remove last remaining instance of auto_ptr. 2017-11-26 18:33:54 +11:00
Christopher Kohlhoff
fddf89126a Restore binder support for 3, 4 and 5 arguments. 2017-11-26 08:43:26 +11:00
Christopher Kohlhoff
096660c474 Fix double delete issue introduced by 47b9319acb. 2017-11-22 16:41:31 +11:00
Christopher Kohlhoff
b44805ff00 Add backward compatibility for the old ConnectCondition form. 2017-11-07 22:57:58 +11:00
Christopher Kohlhoff
09c69982e7 Ensure make_network_vX error_code overload doesn't throw on invalid prefix length. 2017-11-07 21:17:57 +11:00
Ion Rosca
f4fecdfe45 Fix the rights for event objects on UWP. 2017-11-07 07:36:22 +11:00
Christopher Kohlhoff
2943ee65fd Suppress implicit fallthrough warning on newer gcc. 2017-11-07 07:30:45 +11:00
Christopher Kohlhoff
b441bf70b5 Fix clang version detection for suppression of unused typedef warning. 2017-11-07 06:54:32 +11:00
Christopher Kohlhoff
565c6e8fa6 Fix compile errors in some asio::connect overloads. 2017-11-02 07:41:50 +11:00
Christopher Kohlhoff
d52b816466 Bump minimum MSVC version required for C++11 allocators. 2017-10-25 07:45:00 +11:00
Justin Kerk
5618fadb11 Fix compile warning under Emscripten 2017-10-24 08:20:50 +11:00
Guillaume Egles
b2367dab23 Use proper SSL_version() function so that asio can build with BoringSSL. 2017-10-24 08:20:50 +11:00
Christopher Kohlhoff
cfe47e71d5 Regenerate documentation. 2017-10-24 08:01:15 +11:00