Closed ast-project-nd closed 3 months ago
The CreateFileW helpers in filesystem.h are marked noexcept but throw on error. This means that an error in any of these helpers will always cause std::terminate to be called. This affects the following functions:
CreateFileW
filesystem.h
noexcept
std::terminate
open_file
create_new_file
open_or_create_file
open_or_truncate_existing_file
truncate_existing_file
@ChrisGuzak this seems to be related to #382. Can you please take a look when you are able?
Completed.
The
CreateFileW
helpers infilesystem.h
are markednoexcept
but throw on error. This means that an error in any of these helpers will always causestd::terminate
to be called. This affects the following functions:open_file
create_new_file
open_or_create_file
open_or_truncate_existing_file
truncate_existing_file