fork(1) download
  1. #include <sstream>
  2.  
  3. std::stringstream GetStream() {
  4. std::stringstream s("test");
  5. return s;
  6. }
  7.  
  8. auto main() -> int {
  9. auto s = GetStream();
  10. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
Standard output is empty