J
John Smith
Hello,
I made a class which works like bool primitive but has some special
properties.
Now I want to be able to overload an operator to be able to do the
following:
while (myObj)
{
....
}
It must return true/false naturally, but I'm unsure if it's actually
possible and if so which operator I should overload.
Thanks in advance.
-- John
I made a class which works like bool primitive but has some special
properties.
Now I want to be able to overload an operator to be able to do the
following:
while (myObj)
{
....
}
It must return true/false naturally, but I'm unsure if it's actually
possible and if so which operator I should overload.
Thanks in advance.
-- John