mirror of
https://git.suyu.dev/suyu/ext-boost.git
synced 2025-12-23 15:54:12 +01:00
Revert "externals: Update boost to 1.72 and add Boost Context"
This commit is contained in:
parent
8b4b26a2fd
commit
faaf93d90b
618 changed files with 14262 additions and 96298 deletions
|
|
@ -460,17 +460,12 @@ std::size_t read_at(SyncRandomAccessReadDevice& d,
|
|||
* handler); @endcode
|
||||
*/
|
||||
template <typename AsyncRandomAccessReadDevice, typename MutableBufferSequence,
|
||||
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
||||
std::size_t)) ReadHandler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
||||
typename AsyncRandomAccessReadDevice::executor_type)>
|
||||
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
|
||||
typename ReadHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
||||
void (boost::system::error_code, std::size_t))
|
||||
async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
|
||||
const MutableBufferSequence& buffers,
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
||||
typename AsyncRandomAccessReadDevice::executor_type));
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
|
||||
|
||||
/// Start an asynchronous operation to read a certain amount of data at the
|
||||
/// specified offset.
|
||||
|
|
@ -537,20 +532,14 @@ async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
|
|||
* buffers in one go, and how to use it with arrays, boost::array or
|
||||
* std::vector.
|
||||
*/
|
||||
template <typename AsyncRandomAccessReadDevice,
|
||||
typename MutableBufferSequence, typename CompletionCondition,
|
||||
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
||||
std::size_t)) ReadHandler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
||||
typename AsyncRandomAccessReadDevice::executor_type)>
|
||||
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
|
||||
template <typename AsyncRandomAccessReadDevice, typename MutableBufferSequence,
|
||||
typename CompletionCondition, typename ReadHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
||||
void (boost::system::error_code, std::size_t))
|
||||
async_read_at(AsyncRandomAccessReadDevice& d,
|
||||
uint64_t offset, const MutableBufferSequence& buffers,
|
||||
CompletionCondition completion_condition,
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
||||
typename AsyncRandomAccessReadDevice::executor_type));
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
|
||||
|
||||
#if !defined(BOOST_ASIO_NO_EXTENSIONS)
|
||||
#if !defined(BOOST_ASIO_NO_IOSTREAM)
|
||||
|
|
@ -601,17 +590,11 @@ async_read_at(AsyncRandomAccessReadDevice& d,
|
|||
* handler); @endcode
|
||||
*/
|
||||
template <typename AsyncRandomAccessReadDevice, typename Allocator,
|
||||
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
||||
std::size_t)) ReadHandler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
||||
typename AsyncRandomAccessReadDevice::executor_type)>
|
||||
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
|
||||
typename ReadHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
||||
void (boost::system::error_code, std::size_t))
|
||||
async_read_at(AsyncRandomAccessReadDevice& d,
|
||||
uint64_t offset, basic_streambuf<Allocator>& b,
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
||||
typename AsyncRandomAccessReadDevice::executor_type));
|
||||
async_read_at(AsyncRandomAccessReadDevice& d, uint64_t offset,
|
||||
basic_streambuf<Allocator>& b, BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
|
||||
|
||||
/// Start an asynchronous operation to read a certain amount of data at the
|
||||
/// specified offset.
|
||||
|
|
@ -666,20 +649,14 @@ async_read_at(AsyncRandomAccessReadDevice& d,
|
|||
* immediate completion, invocation of the handler will be performed in a
|
||||
* manner equivalent to using boost::asio::post().
|
||||
*/
|
||||
template <typename AsyncRandomAccessReadDevice,
|
||||
typename Allocator, typename CompletionCondition,
|
||||
BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
|
||||
std::size_t)) ReadHandler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN_TYPE(
|
||||
typename AsyncRandomAccessReadDevice::executor_type)>
|
||||
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE(ReadHandler,
|
||||
template <typename AsyncRandomAccessReadDevice, typename Allocator,
|
||||
typename CompletionCondition, typename ReadHandler>
|
||||
BOOST_ASIO_INITFN_RESULT_TYPE(ReadHandler,
|
||||
void (boost::system::error_code, std::size_t))
|
||||
async_read_at(AsyncRandomAccessReadDevice& d,
|
||||
uint64_t offset, basic_streambuf<Allocator>& b,
|
||||
CompletionCondition completion_condition,
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler
|
||||
BOOST_ASIO_DEFAULT_COMPLETION_TOKEN(
|
||||
typename AsyncRandomAccessReadDevice::executor_type));
|
||||
BOOST_ASIO_MOVE_ARG(ReadHandler) handler);
|
||||
|
||||
#endif // !defined(BOOST_ASIO_NO_IOSTREAM)
|
||||
#endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue