What would be the proper way to access elements that are passed by const reference? Specifically std::list. ex. const std::list<std::string>& someStrings
I understand that it is a reference to memory and that it cannot be modified, but how would I copy values to new string variables or print out the contents of the list.