operator inside operator not working........

Posted by peril brain on Stack Overflow See other posts from Stack Overflow or by peril brain
Published on 2010-03-12T10:44:14Z Indexed on 2010/03/12 10:47 UTC
Read the original article Hit count: 249

Filed under:
|
char b;

operator<<(cout,(operator>>(cin,b)));

this is not compiling in vc++ because all 8 overloads cant convert this type.

can any one explain this.....

is their a problem with return type...........

© Stack Overflow or respective owner

Related posts about c++

Related posts about operators