[libcxx-commits] [libcxx] [libc++] Implement LWG3430 disallow implicit conversion of the source arguments to `std::filesystem::path` when constructing `std::basic_*fstream` (PR #85079)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 28 05:48:07 PDT 2024


================
@@ -80,6 +80,11 @@ Deprecations and Removals
   libatomic is not available. If you are one such user, please reach out to the libc++ developers so we can collaborate
   on a path for supporting atomics properly on freestanding platforms.
 
+- LWG3430 disallow implicit conversion of the source arguments to ``std::filesystem::path`` when 
+  constructing ``std::basic_*fstream``. This effectively removes the possibility to directly construct 
+  a ``std::basic_*fstream`` from a ``std::basic_string_view``, a input-iterator or a C-string, instead 
----------------
yronglin wrote:

Good catch!

https://github.com/llvm/llvm-project/pull/85079


More information about the libcxx-commits mailing list