If i define three objects like the following:
const string & textA = messages.at(0),
textB = messages.at(1),
textC = messages.at(2);
Are textB and textC actually a reference?
Do I have to place the & in front of both textB and textC?
Thanks!
textBandtextCare not references. Think of the&as if it belongs with the variable, not the type.(Just checked with g++)