#include <concepts>
#include <functional>
#include <seastar/core/future.hh>
#include <seastar/util/defer.hh>
Go to the source code of this file.
|
namespace | seastar |
| Seastar API namespace.
|
|
|
template<closeable Closeable, std::invocable< Closeable & > Func>
requires std::is_nothrow_move_constructible_v<Closeable> && std::is_nothrow_move_constructible_v<Func> |
futurize_t< std::invoke_result_t< Func, Closeable & > > | seastar::with_closeable (Closeable &&obj, Func func) noexcept |
|
template<stoppable Stoppable, std::invocable< Stoppable & > Func>
requires std::is_nothrow_move_constructible_v<Stoppable> && std::is_nothrow_move_constructible_v<Func> |
futurize_t< std::invoke_result_t< Func, Stoppable & > > | seastar::with_stoppable (Stoppable &&obj, Func func) noexcept |
|