Please excuse the dumm question, but is their a simple way to extract the 
vector<string> from a vector<pair<<string, int> > ?

Eg, I have:
        typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
        std::vector<FamilyPair> family;

And I'd like to do this:
        std::vector<string> names = family.first;

Do I have to write a loop or is there a function I know nothing about?

Angus


Reply via email to