We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::basic_ofstream<path::value_type> file( name )
basic_ofstreamの型パラメーターはファイル名と関係ないので、型パラメーターにpath::value_typeを渡すのはおかしくないですか?
basic_ofstream
path::value_type
C++17で型パラメーターとは無関係にconst path&とconst path::value_type*を引数に取るオーバーロードが追加されたので、普通に
const path&
const path::value_type*
std::ofstream file( path )
か
std::ofstream file( name )
と書けばいいと思っていたのですが、何か勘違いしているでしょうか。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
basic_ofstream
の型パラメーターはファイル名と関係ないので、型パラメーターにpath::value_type
を渡すのはおかしくないですか?C++17で型パラメーターとは無関係に
const path&
とconst path::value_type*
を引数に取るオーバーロードが追加されたので、普通にか
と書けばいいと思っていたのですが、何か勘違いしているでしょうか。
The text was updated successfully, but these errors were encountered: