If I have a class with the following member var:
std::string* m_array;
Is there a way to initialize it in the constructor using new or anything
else in this fashion:
m_array = new std::string {"string1", "string2", "string3" };
I know I can do:
char* array[] = {"string1", "string2", "string3"};
Is there any way to do something similar with a member var?
Thanks,
B