<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59029>59029</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
std::fstream, std::ifstream, and std::ofstream's constructors use std::filesystem::path instead of template
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cppbest1
</td>
</tr>
</table>
<pre>
The constructors for the fstreams still use a `std::filesystem::path` instead of a template, allowing an implicit conversion from `std::string_view` and others to happen. See https://en.cppreference.com/w/cpp/io/basic_fstream/basic_fstream#Defect_reports and https://cplusplus.github.io/LWG/issue3430.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UcGOmzAQ_Rq4WEUGA0kOPmx31V56a6UeI2MGcGWw5RkS7d93YDfZjSpVsg1-zzNvZl4X-lf9awJhw4KUVkshoRhCEsTgwBCYGQWS816sCMKIrJVIfaaeeA3OA74iwfx2j4Ym5oXjZGB6EQYOYDZ6Q5BVz8J4H65uGYVZhGPYWUeb9gUSurCIIYX5QYEr4Ofni4PrltgsnJRL4yIpiMnECEshfgKIiSjiFlN948WojTHBAAkWC4UNM6NX3gzz6QIfnUFnz-9N_ntXLxxu6ZwghkS4az-q2OhX3HYxOprWrtjT_vj9fVNAXEHVShY56LJtj62spWzyXqv-pE4mJ0ce9Mcob7LP4o65T-CmfifCnTjgo3WbR_-157M3N2fyNXn92Np7Q29z8_5y-3yJKfzhqdw6RP5pTrI65ZM-yOYoD7I_1nUPMCjZ9b1Rg2m53YZHkXvTgUedNV-z5iV3upJVVZZlWyrZ1k1Rt6qty2bozbGzBmxWS5iN88UmXIQ05knvNXTriEx6h4QfpEF04wJwy29WmkLSbHgHSGW-16v3Yv8Cqaf7_w">