J
Joe Van Dyk
class Foo
{
private:
const std::string type_("FOO_TYPE");
};
I'd like to do something like that, but I don't think that's allowed.
Do I need to put type_ inside each of Foo's ctor initialization list?
{
private:
const std::string type_("FOO_TYPE");
};
I'd like to do something like that, but I don't think that's allowed.
Do I need to put type_ inside each of Foo's ctor initialization list?