I have an "array" of strings defined as such:
typedef map<int, string> strArr;
Whenever I do this:
strArr args;
if(!args[1]) { /*do stuff*/ }
The compiler tells me that there's no match for 'operator!'
Why is this so, and how can I fix this?
EDIT:
Is there a way of making this work with bool operator! ()!