I am a newbie to c++ and please don't get mad at me for asking something very basic. Here's my quesion:
For a class A, an integer conversion operator would look something like
operator int() //Here we don't specify any return type
{
return intValue;
}
How does the above function is able to return something when its signature says that it doesnt return anything. Its not void i know, but then what does not specifying a return type mean?