| 76 | |
| 77 | template <typename SyncReadStream, typename DynamicBuffer_v1> |
| 78 | inline std::size_t read_until(SyncReadStream& s, |
| 79 | ASIO_MOVE_ARG(DynamicBuffer_v1) buffers, char delim, |
| 80 | typename constraint< |
| 81 | is_dynamic_buffer_v1<typename decay<DynamicBuffer_v1>::type>::value |
| 82 | >::type, |
| 83 | typename constraint< |
| 84 | !is_dynamic_buffer_v2<typename decay<DynamicBuffer_v1>::type>::value |
| 85 | >::type) |
| 86 | { |
| 87 | asio::error_code ec; |
| 88 | std::size_t bytes_transferred = read_until(s, |
| 89 | ASIO_MOVE_CAST(DynamicBuffer_v1)(buffers), delim, ec); |
| 90 | asio::detail::throw_error(ec, "read_until"); |
| 91 | return bytes_transferred; |
| 92 | } |
| 93 | |
| 94 | template <typename SyncReadStream, typename DynamicBuffer_v1> |
| 95 | std::size_t read_until(SyncReadStream& s, |
nothing calls this directly
no test coverage detected