I couldn't find a reasonable title for the question, sorry.
I try to wrap a map container to make it thread-safe. I wrote the below class but i get compile error.I couldn't find what the problem is... I define just an iterator for a map, but the compiler complains..
What am I missing?
My compiler is: g++ (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I have to admit, it was a typo, but a rather funny one :)
I just looked up both words in the dictionary to see what's the difference, so if it was a freudian slip it had to be really unconscious.