J
Joost Kraaijeveld
Hi,
Are Base data members accessible in Derived constructor initialiser list
and is the following legal?
class Base
{
public:
protected:
std::string text;
};
class Derived : public Base
{
public:
Derived(const std::string& aText)
: text(aText)
{}
};
TIA
Joost
Are Base data members accessible in Derived constructor initialiser list
and is the following legal?
class Base
{
public:
protected:
std::string text;
};
class Derived : public Base
{
public:
Derived(const std::string& aText)
: text(aText)
{}
};
TIA
Joost