If element is set in C++ std::map?
How to find out if an element in std::map storage is set? Example:
#include <map>
#include <string>
using namespace std;
map<string, FOO_class> storage;
storage["foo_el"] = FOO_class();
Is there something like if (storage.isset("foo_el")) ?
No comments:
Post a Comment