I need to initialize vector in class this way
vector<string> test("hello","world");
But when I do it, compiler recognize it as an function and give me errors like error: expected identifier before string constant etc.
When I do it this way
vector<string> test = ("hello","world")
it is ok.. Is there some way how to do it in vector<string> test("xx") way?
vector<string> test = ("hello","world")does what you think it does?