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

1 · cpprefjp · Aug. 20, 2021, 8:09 a.m.
diff --git a/reference/filesystem/path/c_str.md b/reference/filesystem/path/c_str.md index b11ab0ed9..4a8a0d998 100644 --- a/reference/filesystem/path/c_str.md +++ b/reference/filesystem/path/c_str.md @@ -53,7 +53,6 @@ int main() { fs::path p = "foo/bar"; - // ディレクトリ区切り文字が"/"から"\\"に変換され、 // UTF-16エンコーディングで返る const wchar_t* s = p.c_str(); std::wcout << s << std::endl; @@ -63,7 +62,7 @@ int main() #### 出力 ``` -foo\bar +foo/bar ``` ## バージョン @@ -73,4 +72,4 @@ foo\bar ### 処理系...