3838[include requirements/IoControlCommand.qbk]
3939[include requirements/IoObjectService.qbk]
4040[include requirements/IteratorConnectHandler.qbk]
41+ [include requirements/LegacyCompletionHandler.qbk]
4142[include requirements/MoveAcceptHandler.qbk]
4243[include requirements/MutableBufferSequence.qbk]
4344[include requirements/ProtoAllocator.qbk]
@@ -1380,7 +1381,7 @@ Start an asynchronous operation to read a certain amount of data from a stream.
13801381 AsyncReadStream & s,
13811382 DynamicBuffer && buffers,
13821383 ReadHandler && handler,
1383- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
1384+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
13841385 `` [''''»''' [link asio.reference.async_read.overload3 more...]]``
13851386
13861387 template<
@@ -1393,7 +1394,7 @@ Start an asynchronous operation to read a certain amount of data from a stream.
13931394 DynamicBuffer && buffers,
13941395 CompletionCondition completion_condition,
13951396 ReadHandler && handler,
1396- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
1397+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
13971398 `` [''''»''' [link asio.reference.async_read.overload4 more...]]``
13981399
13991400 template<
@@ -1607,7 +1608,7 @@ Start an asynchronous operation to read a certain amount of data from a stream.
16071608 AsyncReadStream & s,
16081609 DynamicBuffer && buffers,
16091610 ReadHandler && handler,
1610- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
1611+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
16111612
16121613
16131614This function is used to asynchronously read a certain number of bytes of data from a stream. The function call always returns immediately. The asynchronous operation will continue until one of the following conditions is true:
@@ -1682,7 +1683,7 @@ Start an asynchronous operation to read a certain amount of data from a stream.
16821683 DynamicBuffer && buffers,
16831684 CompletionCondition completion_condition,
16841685 ReadHandler && handler,
1685- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
1686+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
16861687
16871688
16881689This function is used to asynchronously read a certain number of bytes of data from a stream. The function call always returns immediately. The asynchronous operation will continue until one of the following conditions is true:
@@ -3692,7 +3693,7 @@ Start an asynchronous operation to write a certain amount of data to a stream.
36923693 AsyncWriteStream & s,
36933694 DynamicBuffer && buffers,
36943695 WriteHandler && handler,
3695- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
3696+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
36963697 `` [''''»''' [link asio.reference.async_write.overload3 more...]]``
36973698
36983699 template<
@@ -3705,7 +3706,7 @@ Start an asynchronous operation to write a certain amount of data to a stream.
37053706 DynamicBuffer && buffers,
37063707 CompletionCondition completion_condition,
37073708 WriteHandler && handler,
3708- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
3709+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
37093710 `` [''''»''' [link asio.reference.async_write.overload4 more...]]``
37103711
37113712 template<
@@ -3906,7 +3907,7 @@ Start an asynchronous operation to write all of the supplied data to a stream.
39063907 AsyncWriteStream & s,
39073908 DynamicBuffer && buffers,
39083909 WriteHandler && handler,
3909- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
3910+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
39103911
39113912
39123913This function is used to asynchronously write a certain number of bytes of data to a stream. The function call always returns immediately. The asynchronous operation will continue until one of the following conditions is true:
@@ -3967,7 +3968,7 @@ Start an asynchronous operation to write a certain amount of data to a stream.
39673968 DynamicBuffer && buffers,
39683969 CompletionCondition completion_condition,
39693970 WriteHandler && handler,
3970- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
3971+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
39713972
39723973
39733974This function is used to asynchronously write a certain number of bytes of data to a stream. The function call always returns immediately. The asynchronous operation will continue until one of the following conditions is true:
@@ -61667,9 +61668,9 @@ This function is implemented as follows:
6166761668
6166861669
6166961670 template<
61670- typename ``[link asio.reference.CompletionHandler CompletionHandler ]``>
61671+ typename ``[link asio.reference.LegacyCompletionHandler LegacyCompletionHandler ]``>
6167161672 ``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]`` dispatch(
61672- CompletionHandler && handler);
61673+ LegacyCompletionHandler && handler);
6167361674
6167461675
6167561676This function is used to ask the [link asio.reference.io_context `io_context`] to execute the given handler.
@@ -62148,9 +62149,9 @@ The number of handlers that were executed.
6214862149
6214962150
6215062151 template<
62151- typename ``[link asio.reference.CompletionHandler CompletionHandler ]``>
62152+ typename ``[link asio.reference.LegacyCompletionHandler LegacyCompletionHandler ]``>
6215262153 ``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]`` post(
62153- CompletionHandler && handler);
62154+ LegacyCompletionHandler && handler);
6215462155
6215562156
6215662157This function is used to ask the [link asio.reference.io_context `io_context`] to execute the given handler, but without allowing the [link asio.reference.io_context `io_context`] to call the handler from inside this function.
@@ -63482,9 +63483,9 @@ Request the strand to invoke the given function object.
6348263483
6348363484
6348463485 template<
63485- typename ``[link asio.reference.CompletionHandler CompletionHandler ]``>
63486+ typename ``[link asio.reference.LegacyCompletionHandler LegacyCompletionHandler ]``>
6348663487 ``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]`` ``[link asio.reference.io_context__strand.dispatch.overload2 dispatch]``(
63487- CompletionHandler && handler);
63488+ LegacyCompletionHandler && handler);
6348863489 `` [''''»''' [link asio.reference.io_context__strand.dispatch.overload2 more...]]``
6348963490
6349063491
@@ -63534,9 +63535,9 @@ This function is used to ask the strand to execute the given function object on
6353463535
6353563536
6353663537 template<
63537- typename ``[link asio.reference.CompletionHandler CompletionHandler ]``>
63538+ typename ``[link asio.reference.LegacyCompletionHandler LegacyCompletionHandler ]``>
6353863539 ``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]`` dispatch(
63539- CompletionHandler && handler);
63540+ LegacyCompletionHandler && handler);
6354063541
6354163542
6354263543This function is used to ask the strand to execute the given handler.
@@ -63712,9 +63713,9 @@ Request the strand to invoke the given function object.
6371263713
6371363714
6371463715 template<
63715- typename ``[link asio.reference.CompletionHandler CompletionHandler ]``>
63716+ typename ``[link asio.reference.LegacyCompletionHandler LegacyCompletionHandler ]``>
6371663717 ``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]`` ``[link asio.reference.io_context__strand.post.overload2 post]``(
63717- CompletionHandler && handler);
63718+ LegacyCompletionHandler && handler);
6371863719 `` [''''»''' [link asio.reference.io_context__strand.post.overload2 more...]]``
6371963720
6372063721
@@ -63764,9 +63765,9 @@ This function is used to ask the executor to execute the given function object.
6376463765
6376563766
6376663767 template<
63767- typename ``[link asio.reference.CompletionHandler CompletionHandler ]``>
63768+ typename ``[link asio.reference.LegacyCompletionHandler LegacyCompletionHandler ]``>
6376863769 ``[link asio.reference.asynchronous_operations.automatic_deduction_of_initiating_function_return_type ['DEDUCED]]`` post(
63769- CompletionHandler && handler);
63770+ LegacyCompletionHandler && handler);
6377063771
6377163772
6377263773This function is used to ask the strand to execute the given handler, but without allowing the strand to call the handler from inside this function.
@@ -76702,7 +76703,7 @@ Swap the results range with another.
7670276703The type of a value in the results range.
7670376704
7670476705
76705- typedef basic_resolver_entry< endpoint_type > value_type;
76706+ typedef basic_resolver_entry< protocol_type > value_type;
7670676707
7670776708
7670876709[heading Types]
@@ -90427,7 +90428,7 @@ Attempt to read a certain amount of data from a stream before returning.
9042790428 std::size_t ``[link asio.reference.read.overload5 read]``(
9042890429 SyncReadStream & s,
9042990430 DynamicBuffer && buffers,
90430- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90431+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9043190432 `` [''''»''' [link asio.reference.read.overload5 more...]]``
9043290433
9043390434 template<
@@ -90437,7 +90438,7 @@ Attempt to read a certain amount of data from a stream before returning.
9043790438 SyncReadStream & s,
9043890439 DynamicBuffer && buffers,
9043990440 asio::error_code & ec,
90440- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90441+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9044190442 `` [''''»''' [link asio.reference.read.overload6 more...]]``
9044290443
9044390444 template<
@@ -90448,7 +90449,7 @@ Attempt to read a certain amount of data from a stream before returning.
9044890449 SyncReadStream & s,
9044990450 DynamicBuffer && buffers,
9045090451 CompletionCondition completion_condition,
90451- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90452+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9045290453 `` [''''»''' [link asio.reference.read.overload7 more...]]``
9045390454
9045490455 template<
@@ -90460,7 +90461,7 @@ Attempt to read a certain amount of data from a stream before returning.
9046090461 DynamicBuffer && buffers,
9046190462 CompletionCondition completion_condition,
9046290463 asio::error_code & ec,
90463- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90464+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9046490465 `` [''''»''' [link asio.reference.read.overload8 more...]]``
9046590466
9046690467 template<
@@ -90825,7 +90826,7 @@ Attempt to read a certain amount of data from a stream before returning.
9082590826 std::size_t read(
9082690827 SyncReadStream & s,
9082790828 DynamicBuffer && buffers,
90828- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90829+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9082990830
9083090831
9083190832This function is used to read a certain number of bytes of data from a stream. The call will block until one of the following conditions is true:
@@ -90897,7 +90898,7 @@ Attempt to read a certain amount of data from a stream before returning.
9089790898 SyncReadStream & s,
9089890899 DynamicBuffer && buffers,
9089990900 asio::error_code & ec,
90900- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90901+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9090190902
9090290903
9090390904This function is used to read a certain number of bytes of data from a stream. The call will block until one of the following conditions is true:
@@ -90962,7 +90963,7 @@ Attempt to read a certain amount of data from a stream before returning.
9096290963 SyncReadStream & s,
9096390964 DynamicBuffer && buffers,
9096490965 CompletionCondition completion_condition,
90965- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
90966+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9096690967
9096790968
9096890969This function is used to read a certain number of bytes of data from a stream. The call will block until one of the following conditions is true:
@@ -91036,7 +91037,7 @@ Attempt to read a certain amount of data from a stream before returning.
9103691037 DynamicBuffer && buffers,
9103791038 CompletionCondition completion_condition,
9103891039 asio::error_code & ec,
91039- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
91040+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
9104091041
9104191042
9104291043This function is used to read a certain number of bytes of data from a stream. The call will block until one of the following conditions is true:
@@ -113214,7 +113215,7 @@ Write a certain amount of data to a stream before returning.
113214113215 std::size_t ``[link asio.reference.write.overload5 write]``(
113215113216 SyncWriteStream & s,
113216113217 DynamicBuffer && buffers,
113217- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113218+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113218113219 `` [''''»''' [link asio.reference.write.overload5 more...]]``
113219113220
113220113221 template<
@@ -113224,7 +113225,7 @@ Write a certain amount of data to a stream before returning.
113224113225 SyncWriteStream & s,
113225113226 DynamicBuffer && buffers,
113226113227 asio::error_code & ec,
113227- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113228+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113228113229 `` [''''»''' [link asio.reference.write.overload6 more...]]``
113229113230
113230113231 template<
@@ -113235,7 +113236,7 @@ Write a certain amount of data to a stream before returning.
113235113236 SyncWriteStream & s,
113236113237 DynamicBuffer && buffers,
113237113238 CompletionCondition completion_condition,
113238- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113239+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113239113240 `` [''''»''' [link asio.reference.write.overload7 more...]]``
113240113241
113241113242 template<
@@ -113247,7 +113248,7 @@ Write a certain amount of data to a stream before returning.
113247113248 DynamicBuffer && buffers,
113248113249 CompletionCondition completion_condition,
113249113250 asio::error_code & ec,
113250- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113251+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113251113252 `` [''''»''' [link asio.reference.write.overload8 more...]]``
113252113253
113253113254 template<
@@ -113612,7 +113613,7 @@ Write all of the supplied data to a stream before returning.
113612113613 std::size_t write(
113613113614 SyncWriteStream & s,
113614113615 DynamicBuffer && buffers,
113615- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113616+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113616113617
113617113618
113618113619This function is used to write a certain number of bytes of data to a stream. The call will block until one of the following conditions is true:
@@ -113684,7 +113685,7 @@ Write all of the supplied data to a stream before returning.
113684113685 SyncWriteStream & s,
113685113686 DynamicBuffer && buffers,
113686113687 asio::error_code & ec,
113687- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113688+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113688113689
113689113690
113690113691This function is used to write a certain number of bytes of data to a stream. The call will block until one of the following conditions is true:
@@ -113749,7 +113750,7 @@ Write a certain amount of data to a stream before returning.
113749113750 SyncWriteStream & s,
113750113751 DynamicBuffer && buffers,
113751113752 CompletionCondition completion_condition,
113752- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113753+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113753113754
113754113755
113755113756This function is used to write a certain number of bytes of data to a stream. The call will block until one of the following conditions is true:
@@ -113823,7 +113824,7 @@ Write a certain amount of data to a stream before returning.
113823113824 DynamicBuffer && buffers,
113824113825 CompletionCondition completion_condition,
113825113826 asio::error_code & ec,
113826- typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type * = 0);
113827+ typename enable_if< is_dynamic_buffer< typename decay< DynamicBuffer >::type >::value >::type * = 0);
113827113828
113828113829
113829113830This function is used to write a certain number of bytes of data to a stream. The call will block until one of the following conditions is true:
0 commit comments