Set vector of strings being passed by reference as constant to ensure it's elements don't get altered during parsing.  Subsequently, set the vector's iterator to be a const_iterator