has_filename -- Merge pull request #892 from 0xbadfca11/patch-1

1 · cpprefjp · Aug. 20, 2021, 8:09 a.m.
diff --git a/reference/filesystem/path/has_filename.md b/reference/filesystem/path/has_filename.md index 619b19878..6f03b7e0a 100644 --- a/reference/filesystem/path/has_filename.md +++ b/reference/filesystem/path/has_filename.md @@ -84,14 +84,13 @@ int main() #### 出力 ``` -"C:\foo\bar.txt" : true -"C:\foo\bar\" : false +"C:/foo/bar.txt" : true +"C:/foo/bar/" : false "C:" : false "." : true ".." : true ``` -Windowsでの例は、Visual C++が正式にファイルシステムライブラリをサポートしていないことから、未検証のサンプルコード・出力となっている。 ...