prog.cpp: In function ‘int main()’:
prog.cpp:15:11: error: use of deleted function ‘bool ID_Record::operator==(const ID_Record&) const’
if (a == b) std::cout << "Records are equal\n"; // This line should fail compilation.
^
prog.cpp:7:10: note: declared here
bool operator==(const ID_Record& other) const = delete;
^~~~~~~~