38 typedef std::map<std::string, const MetaTag *>
MetaTagMap;
45 for (
int idx = 0; !meta_description[idx].
tag.empty(); ++idx) {
46 const MetaTag& mt = meta_description[idx];
47 translate[mt.
tag] = &mt;
52 MetaTagMap::const_iterator found = translate.find(tag);
53 if (found != translate.end())
return found->second;
61 #error MetaTag.h included twice
return string(buffer, length)