std :: map 저장소에있는 요소가 설정되어 있는지 확인하는 방법은 무엇입니까? 예 : if (storage.isset("foo_el"))
같은 것이요소가 C++ std :: map에 설정된 경우?
#include <map>
#include <string>
using namespace std;
map<string, FOO_class> storage;
storage["foo_el"] = FOO_class();
있습니까?