fork download
  1. #include <iostream>
  2.  
  3. struct Nodo {};
  4.  
  5. int operator+(Nodo, Nodo) { return 42;}
  6.  
  7. int main() {
  8. std::cout << Nodo{} + Nodo{} << std::endl;
  9. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
42