Seastar
High performance C++ framework for concurrent servers
|
Public Member Functions | |
tmp_dir (const tmp_dir &)=delete | |
tmp_dir (tmp_dir &&x)=default | |
tmp_dir & | operator= (tmp_dir &&) noexcept=default |
future | create (std::filesystem::path path_template=default_tmpdir(), file_permissions create_permissions=file_permissions::default_dir_permissions) noexcept |
future | remove () noexcept |
bool | has_path () const |
const std::filesystem::path & | get_path () const |
Static Public Member Functions | |
template<typename Func > requires std::is_nothrow_move_constructible_v<Func> | |
static future | do_with (std::filesystem::path path_template, Func &&func, file_permissions create_permissions=file_permissions::default_dir_permissions) noexcept |
template<typename Func > | |
static future | do_with (Func &&func) noexcept |
template<typename Func > requires std::is_nothrow_move_constructible_v<Func> | |
static future | do_with_thread (Func &&func) noexcept |