Mega-newb question, which I simply cannot find an answer to on google.
Say, I have the following class:
class A {
private:
B b;
public:
A();
};
How would I go about constructing b inside A's constructor? Can I just do:
A() {
b();
}
or what?
Thanks in advance.