Hi, I got a question. I have a class B that has this method:
operator int()
{
std::cout << "int()" << std::endl;
return i;
}
I dont know exactly how it works but every time I call this method:
int foo1(B b)
{
return b;
}
it prints int().
Any1 know?
Thanks in advance.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
