#include <iostream> struct Pod { int x; }; int main() { Pod foo{}; Pod bar{}; std::cout << (foo == bar) << std::endl; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:11:20: error: no match for 'operator==' (operand types are 'Pod' and 'Pod') std::cout << (foo == bar) << std::endl; ^
Standard output is empty