ファイルを std::string_view に直接ロードすることは可能ですか?
直接 = stringstream からプロキシ std::string を作成せずに。
それは私のコードの多くをより速くするでしょう。
ファイルを std::string_view に直接ロードすることは可能ですか?
直接 = stringstream からプロキシ std::string を作成せずに。
それは私のコードの多くをより速くするでしょう。
にアクセスできる場合はboost
、文字列ビューを の にポイントできdata()
ますboost::iostreams::mapped_file
。