Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualrip-off

Posted 08 August 2012 - 11:13 AM

Calling `operator>>(std::cin, foo)' explicitly doesn't work if foo is an int either.

Interesting, Needless to say, I don't explicitly call operators like that often. I was hoping an explicit call would allow me to "jump to declaration" in my IDE.

Reading a pointer from a stream is a valid operation...

Also interesting. Yet another entry in the C++ minefield to watch out for.

#1rip-off

Posted 08 August 2012 - 11:12 AM

Calling `operator>>(std::cin, foo)' explicitly doesn't work if foo is an int either.
Interesting, Needless to say, I don't explicitly call operators like that often. I was hoping an explicit call would allow me to "jump to declaration" in my IDE.

Reading a pointer from a stream is a valid operation...

Also interesting. Yet another entry in the C++ minefield to watch out for.

PARTNERS