void RuleSet:: apply_and_gather (const Nodes_t& n, RuleSet& use, strings_t& into) { for (auto i : n) { stringstream ss; RedirectStream (cout, ss); use.apply_to (*i); into .push_back (ss.str()); } }