fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct jerkface
  5. {
  6. const jerkface &operator()(const jerkface &) const
  7. {
  8. return *this;
  9. }
  10. friend istream &operator>>(istream &is, jerkface &)
  11. {
  12. return is;
  13. }
  14. friend ostream &operator<<(ostream &os, const jerkface &)
  15. {
  16. return os;
  17. }
  18. };
  19.  
  20. int main()
  21. {
  22. jerkface rhubarb;
  23. cin >> rhubarb;
  24. rhubarb = rhubarb( rhubarb );
  25. cout << rhubarb;
  26. }
Success #stdin #stdout 0.02s 2676KB
stdin
Standard input is empty
stdout
Standard output is empty