5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_FILESYSTEM_SCOPED_CHANGE_DIRECTORY_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_FILESYSTEM_SCOPED_CHANGE_DIRECTORY_HPP_
scoped_change_directory(null_terminated_string_view const new_path)
Save the working directory and set it to the new path.
Definition scoped_change_directory.cpp:23
scoped_change_directory(scoped_change_directory const &)=delete
Not copyable.
auto operator=(scoped_change_directory &&) -> scoped_change_directory &=delete
Not movable.
~scoped_change_directory()
Restore the working directory to the value saved on construction if possible.
Definition scoped_change_directory.cpp:33
auto operator=(scoped_change_directory const &) -> scoped_change_directory &=delete
Not copyable.
scoped_change_directory(scoped_change_directory &&)=delete
Not movable.
A read-only string-view that provides a view onto a null-terminated string.
Definition null_terminated_string_view.hpp:62
Definition directory_handle.cpp:39
array< arene::base::detail::character, PATH_MAX > path_buffer
A raw buffer with storage large enough to hold a file path.
Definition path_string.hpp:24
Definition accumulate.hpp:37
Definition accumulate.hpp:36
Public export header for the string_view subpackage.