H
holmescn
I want to know who called these functions:
the constructor
the copy constructor
the question from this code:
class A
{
void func();
};
class B
{
friend class A:
private:
B();
};
void A::func()
{
B();
}
different compiler make different result.
who can explain?
Thx vary much.
the constructor
the copy constructor
the question from this code:
class A
{
void func();
};
class B
{
friend class A:
private:
B();
};
void A::func()
{
B();
}
different compiler make different result.
who can explain?
Thx vary much.