int var;
int *p = &var;
std::cout > var; //invalid
std::cout > p; //valid
std::cout < var; //invalid
std::cout < p; //valid
I know it seems make no meaning but what is the actually meaning of >
and <
in this case and why it's only valid when the right-hand operand is pointer ?
I'm using Visual Studio.