24 template <
typename AT>
43 subtags_.emplace_back(&tagname, &child);
46 std::vector<std::pair<const std::string*, const configr_of*>>
subtags_;
A config object defines a single node in a WML file, with access to child nodes.
Definitions for the interface to Wesnoth Markup Language (WML).
configr_of(const config &cfg)
std::vector< std::pair< const std::string *, const configr_of * > > subtags_
configr_of(const std::string &attrname, AT value)
configr_of & operator()(const config &cfg)
configr_of & operator()(const std::string &tagname, const configr_of &child)