std::list .size method
Posted on 2012-03-17
I have seen sometimes core files in my application and when I bactraced I found it is coring at executing .size() function on std::list
myStringList.size() sometimes cores
myStringList is member of static class which has only one instance for the entire application. I understand it should be protected by lock which I am not doing but could .size() on list ever core?