[libcxx-commits] [libcxx] [libc++][streams] P1759R6: Native handles and file streams (PR #76632)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Dec 31 01:23:00 PST 2023
H-G-Hristov wrote:
@mordante I decided to do this quickly and I post it to discuss and ask questions. Please excuse my incompetence!
1. I implemented test but I am not sure these are enough but I don't have idea how to test the native handle better especially on non-POSIX (Windows).
2. I added a `native_handle` implementation function to a file `fstream.cpp` similar to what's done in `print.cpp`. The macro `# if _LIBCPP_STD_VER >= 26` doesn't seem to be defined in C++26 mode and in general I have trouble exporting the mangled symbol and getting the tests to link. Please advise.
https://github.com/llvm/llvm-project/pull/76632
More information about the libcxx-commits
mailing list