boost::shared_ptr<dynamic_property_map> generate(const std::string& name, const Key& key, const Value& value) { if(!generate_fn) { BOOST_THROW_EXCEPTION(property_not_found(name)); } else { return generate_fn(name,key,value); } }
std::auto_ptr<dynamic_property_map> generate(const std::string& name, const Key& key, const Value& value) { if(!generate_fn) { throw property_not_found(name); } else { return generate_fn(name,key,value); } }