Christopher Kohlhoff
4be31df55d
Document that there are multiple types of I/O execution context.
2020-08-05 10:39:19 +10:00
Christopher Kohlhoff
0418d12c04
Clarify impact of any_io_executor change.
2020-08-05 10:04:18 +10:00
Christopher Kohlhoff
331d28d98a
Add shape_type and index_type to static_thread_pool executor, as per specification.
2020-08-04 08:30:38 +10:00
Christopher Kohlhoff
38fda8db75
Prevent target-acquiring adapter constructors from being considered during overload resolution for conversion.
2020-08-01 01:02:47 +10:00
Christopher Kohlhoff
388a04cdc1
Restore null pointer check for better performance.
2020-07-31 21:53:54 +10:00
Christopher Kohlhoff
b7bdff6cd1
Ensure concept-related traits work with void.
2020-07-31 15:22:32 +10:00
Christopher Kohlhoff
ed7422dbb4
Add constraints to strand<>'s constructor to prevent template instantiation recursion.
2020-07-31 15:22:32 +10:00
Christopher Kohlhoff
83e28babbe
Use constraints on any_executor's converting constructors, as per the specification.
2020-07-31 15:22:32 +10:00
Christopher Kohlhoff
db3e9dcb40
Add short-circuiting to traits evaluation.
...
Test first for well-formed CPO expressions (or, in the case of senders,
a specialised sender_traits template) and, if not valid, short-circuit
the remainder of the traits evaluation. This helps prevent recursive
template instantiations that can occur in some contexts.
2020-07-31 15:20:57 +10:00
Christopher Kohlhoff
7864772dd8
Mark constructors in synopses for nested classes and classes in sub-namespaces.
2020-07-30 10:14:48 +10:00
Christopher Kohlhoff
4b4fd81b8d
Make blocking_t::always_t::is_preferable false as per specification.
2020-07-28 19:50:09 +10:00
Christopher Kohlhoff
234f230490
Fix typos.
2020-07-28 13:31:23 +10:00
Christopher Kohlhoff
51842da799
Fix reference to asio::query customisation point.
2020-07-28 12:59:41 +10:00
Christopher Kohlhoff
ab336ac55b
Exclude I/O objects' impl_ data members from documentation.
2020-07-28 12:59:41 +10:00
Christopher Kohlhoff
204955ddcf
Mark constructors/destructors in class synopses.
2020-07-28 12:59:41 +10:00
Christopher Kohlhoff
0acfaad9bc
Mark static members in class synopses.
2020-07-28 12:59:41 +10:00
Christopher Kohlhoff
019c09dd4b
Add detailed descriptions for standard executor-related member functions.
2020-07-27 09:21:23 +10:00
Christopher Kohlhoff
b4dcc70225
Documentation generation tweaks.
2020-07-25 12:46:53 +10:00
Christopher Kohlhoff
18aa3efffe
Fix up trait specialisations for use_future's executor.
2020-07-25 11:36:12 +10:00
Christopher Kohlhoff
554493d597
Fix executor_type definition in async_compose implementation.
2020-07-25 11:08:26 +10:00
Christopher Kohlhoff
9f6992a43c
Fix detection of standard executors as I/O executors in async_compose.
2020-07-25 09:49:10 +10:00
Christopher Kohlhoff
11217dbb74
Add workaround for coroutine argument capture problem in gcc 10.
2020-07-24 21:27:32 +10:00
Christopher Kohlhoff
1732c87d3c
Fix typo in forward declaration of any_io_executor.
2020-07-24 09:54:15 +10:00
Christopher Kohlhoff
a5d06dc386
Add missing definition of ASIO_EXECUTION_RECEIVER_OF_n macros.
2020-07-23 21:48:33 +10:00
Christopher Kohlhoff
284a11bb0d
Add missing sender traits and connect() member to thread_pool executor.
2020-07-23 21:48:33 +10:00
Christopher Kohlhoff
2e2d26c987
Add standard executor support to windows::overlapped_ptr.
2020-07-23 21:48:33 +10:00
Christopher Kohlhoff
e8459ab3f4
Fix compatibility with clang-cl.
2020-07-23 21:48:33 +10:00
Christopher Kohlhoff
72d59a5c7e
Add missing noexcept to basic_socket_acceptor move constructor.
2020-07-23 21:48:33 +10:00
Christopher Kohlhoff
1ddbd7062d
Fix mismatched comments.
2020-07-23 21:48:33 +10:00
Christopher Kohlhoff
7f29e0a88b
Fix namespace boostification for coroutine_traits specialisation.
2020-07-23 12:38:49 +10:00
Christopher Kohlhoff
b956b35379
Destroy the awaitable's frame as the result is consumed.
...
This change works around a gcc 10 bug, where the temporary awaitable
object being awaited is not destroyed if the co_await resumes with an
exception.
2020-07-23 12:23:57 +10:00
Christopher Kohlhoff
61e62436ea
Ensure traits specialisations are correctly enabled for the bulk_execute adapter.
2020-07-23 11:27:13 +10:00
Christopher Kohlhoff
ee5fd63b6e
Pass receiver as a non-const lvalue when move support is unavailable.
2020-07-23 11:13:47 +10:00
Christopher Kohlhoff
ad7209706d
No longer need to forward declare the io_context implementation.
2020-07-22 16:11:02 +10:00
Christopher Kohlhoff
12b3c601c9
Remove unused variable.
2020-07-22 16:11:02 +10:00
Christopher Kohlhoff
297f23355d
Fix uninitialised variable.
2020-07-22 16:11:02 +10:00
Christopher Kohlhoff
9b192cc251
Increase minimum gcc version required for SFINAEd variable templates.
2020-07-22 16:11:02 +10:00
Christopher Kohlhoff
265a46fe3a
Update MinGW makefile.
2020-07-22 16:11:02 +10:00
Christopher Kohlhoff
633e5557ca
Add MinGW builds to appveyor.
2020-07-22 16:11:02 +10:00
Christopher Kohlhoff
efff0de899
asio version 1.17.0 released
2020-07-10 15:30:58 +10:00
Christopher Kohlhoff
a52696f75f
Add missing variadic pack expansion.
2020-07-10 12:54:31 +10:00
Christopher Kohlhoff
4cd319f7c8
Revision history.
2020-07-10 09:46:38 +10:00
Christopher Kohlhoff
c709f0a19d
Ensure [[nodiscard]] is enabled only for C++17 or later.
2020-07-10 09:39:21 +10:00
Christopher Kohlhoff
babcd88c1c
Add any_io_executor to ts/executor.hpp.
2020-07-09 23:34:46 +10:00
Christopher Kohlhoff
7232d6be81
Bump minimum gcc version for ASIO_HAS_VARIABLE_TEMPLATES.
...
Require gcc 6 or later for C++14 variable templates, as gcc 5
has a bug when they are used as dependent names.
2020-07-09 12:27:42 +10:00
Christopher Kohlhoff
b51d05a964
Add missing header files.
2020-07-09 12:23:36 +10:00
Christopher Kohlhoff
f93805221b
Include handlerlive.pl and handlertree.pl in distribution.
2020-07-09 12:23:36 +10:00
Christopher Kohlhoff
468c6ff5be
Replace identical helper structs with void_type.
2020-07-07 12:13:47 +10:00
Christopher Kohlhoff
6a6c881821
Use separate name as function overloading isn't needed here.
2020-07-07 09:09:04 +10:00
Christopher Kohlhoff
2f725df507
Regenerate documentation.
2020-07-06 23:50:27 +10:00