static shared_ptr<Tree> load_tree_fromCache(const string& name) { static ResourceCache<Tree> cache(load_tree_xml, "trees"); return cache.load_copy(name); }