return ts.str == ts2.str;
})
)
- list.push_back(move(ts));
+ list.push_back(std::move(ts));
}
void LaTeXFeatures::addPreambleSnippet(TexString snippet, bool allow_dupes)
{
- addSnippet(preamble_snippets_, move(snippet), allow_dupes);
+ addSnippet(preamble_snippets_, std::move(snippet), allow_dupes);
}
"pict2e",
"drs",
"environ",
- "dsfont"
+ "dsfont",
+ "hepparticles",
+ "hepnames"
};
char const * bibliofeatures[] = {
tcpreamble << tclass.htmlstyles();
- list<docstring>::const_iterator cit = usedLayouts_.begin();
- list<docstring>::const_iterator end = usedLayouts_.end();
- for (; cit != end; ++cit)
- tcpreamble << tclass[*cit].htmlstyle();
+ for (auto const & c : usedLayouts_)
+ tcpreamble << tclass[c].htmlstyle();
- cit = usedInsetLayouts_.begin();
- end = usedInsetLayouts_.end();
TextClass::InsetLayouts const & ils = tclass.insetLayouts();
- for (; cit != end; ++cit) {
- TextClass::InsetLayouts::const_iterator it = ils.find(*cit);
+ for (auto const & c : usedInsetLayouts_) {
+ TextClass::InsetLayouts::const_iterator it = ils.find(c);
if (it == ils.end())
continue;
tcpreamble << it->second.htmlstyle();