Здравствуйте, Sempsey, Вы писали:
S>Dir* Dir::add_subdir(const string& name){ S> dir_t::iterator it; S> bool inserted; S> pair<dir_t::iterator,bool>(it,inserted)=subdirs.insert(pair<string,Dir*>(name,static_cast<Dir*>(NULL))); S>GCC нормально компилит и выполняет, VS Express компилит, но при за пуске выдает: S>Debug Assertion Failed! S>Expression map/set iterator not dereferencable. S>Подскажите в чем затык и как быть? Спасибо!
Выделено.
[In theory there is no difference between theory and practice. In
practice there is.]
[Даю очевидные ответы на риторические вопросы]