示例#1
0
 bool unregisterConstructor(const String& name) {
     if (FactoryImpl<T,Ftype>::unregisterConstructor(name)) {
         typename OptionMap::iterator where=mOptionParsers.find(name);
         if (where==mOptionParsers.end())
             return false;
         mOptionParsers.erase(where);
     }
     return true;
 }