Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
既存の C# アプリケーションが .NET インターフェイスを認識できるように、ネイティブ C++ ライブラリを C++/CLI でラップする必要があります。ここまでは順調に進んでいるのですがistream、引数に an を取るメソッドをどうしたらいいのかわかりません。
istream
の既存のラッパーはありistreamますか? たぶん(できれば)にSystem::IO::Stream?
System::IO::Stream
istreamをラップする必要がないことがよくあります。System :: StringBuilderバッファーを作成し、準備ができるまですべての入力を保存します。次に、System :: StringBuilder ^-> System :: String ^-> std :: string-> std :: stringstreamを変換し、文字列ストリームを引数として送信します。