On 06/09/2011 2:57 AM, Richard Heck wrote:
If you make the extensions_ member a vector<string> or list<string>, it will make looping and such a lot easier. You might then just have: string extension() { return extensions_[0]; }
I guess we need to keep extensions_ from being an empty vector<string> then. -- Julien