let's say i have 2 classes
class B
{
B() { /* BLA BLA */ };
B(int a) { /* BLA BLA */ };
B(int a,int b) { /* BLA BLA */ };
}
class A {
public :
A(B par);
}
i was wondering how can i call A's constructor with par having a deafult argument, as each of B constructors. (of course i would like see 3 examples, i don't expect all of them to exist together)
thanks