The function comment discusses behavior based on a parameter 'createFromSeed' that no longer exists.
/** * gets a cached Monitor per name. If the monitor is not found and createFromSeed is false, * it will return none. If createFromSeed is true, it will try to look up the last known * servers list for this set and will create a new monitor using that as the seed list. */ static std::shared_ptr<ReplicaSetMonitor> get(const std::string& name);