SatSolverRegistry::getSolverIds(solvers);
}
-} /* namespace CVC4::prop */
-} /* namespace CVC4 */
+} /* CVC4::prop namespace */
+} /* CVC4 namespace */
/** Get the solver ids that are available */
static void getSolverIds(std::vector<std::string>& solvers);
-};
-
-}
-}
-
-
+};/* class SatSolverFactory */
+}/* CVC4::prop namespace */
+}/* CVC4 namespace */
SatSolverRegistry::~SatSolverRegistry() {
registry_type::const_iterator it = d_solvers.begin();
- registry_type::const_iterator it_end = d_solvers.begin();
+ registry_type::const_iterator it_end = d_solvers.end();
for (; it != it_end; ++ it) {
delete it->second;
}
+ d_solvers.clear();
}
template<typename Solver>
const size_t SatSolverConstructor<Solver>::s_solverId = SatSolverRegistry::getInstance()->registerSolver<SatSolverConstructor>(typeid(Solver).name());
-}
-}
-
+}/* CVC4::prop namespace */
+}/* CVC4 namespace */