R
Rahul
Hi Everyone,
I know that implicit conversion is invoked for the following case,
class A
{
public: A(int n)
{
...
}
};
A obj = 2;
But is any temp objects created? Is the 2 used to create a temp
object and then is the temp object assigned to the the actual object
obj?
Thanks in advance!!!
I know that implicit conversion is invoked for the following case,
class A
{
public: A(int n)
{
...
}
};
A obj = 2;
But is any temp objects created? Is the 2 used to create a temp
object and then is the temp object assigned to the the actual object
obj?
Thanks in advance!!!