операторы

Equivalence operator <=>

I recently saw the operator in someone else's code and experienced a culture shock. What is the beast, what does it do, and ... ;iostream> #include <compare> int main() { int a, b = a = 42; std::cout << (a <=> b == 0); }

How will the if * and * and * or construct be handled *

There is a construction of the form: if a == 1 and b == 1 and c == 1 or c > 5: do_something() Question: how will the ... c>5 and will fulfill do_something() if 1 of the 2 conditions is true? ps c==1 or c>5 - you need to do it through or...