![](/img/trans.png)
[英]In C++ is there a way to call a function with a std::stringstream& argument without the caller using a named variable?
在 C++ 中,是否可以調用參數為 std::stringstream& 的 function 而無需調用方聲明類型為 std::stringstream 的顯式命名變量? 即我想完成一些類似的事情: 上面的代碼產生了這個編譯錯誤: (我不確定我是否正確理解了這個問題——我認為這是因為c ...