fork download
  1. #include<string>
  2. using namespace std;
  3.  
  4. int fun(string::iterator && it)
  5. {
  6. return 1;
  7. }
  8.  
  9. int main()
  10. {
  11. string abc("123");
  12. fun(abc.begin());
  13. return 0;
  14. }
Success #stdin #stdout 0s 3012KB
stdin
Standard input is empty
stdout
Standard output is empty