при попытке сделать хотя бы так ... у меня вываливается куча ошибок
c:\program files\microsoft visual studio\vc98\include\map(94) : warning C4786: 'std::reverse_bidirectional_iterator<std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::a
llocator<unsigned int> >::_Kfn,std::less<unsigned int>,std::allocator<unsigned int> >::iterator,std::pair<unsigned int const ,unsigned int>,std::pair<unsigned int const ,unsigned int> &,std::pair<unsigned int const ,unsigned int> *,int>' : identifie
r was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\map(93) : while compiling class-template member function 'unsigned int &__thiscall std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::operator [](c
onst unsigned int &)'
c:\program files\microsoft visual studio\vc98\include\map(94) : warning C4786: 'std::reverse_bidirectional_iterator<std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::a
llocator<unsigned int> >::_Kfn,std::less<unsigned int>,std::allocator<unsigned int> >::const_iterator,std::pair<unsigned int const ,unsigned int>,std::pair<unsigned int const ,unsigned int> const &,std::pair<unsigned int const ,unsigned int> const *
,int>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\map(93) : while compiling class-template member function 'unsigned int &__thiscall std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::operator [](c
onst unsigned int &)'
c:\program files\microsoft visual studio\vc98\include\map(94) : warning C4786: 'std::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::
_Kfn,std::less<unsigned int>,std::allocator<unsigned int> >::iterator,std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::_Kfn,std::less<unsig
ned int>,std::allocator<unsigned int> >::iterator>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\map(93) : while compiling class-template member function 'unsigned int &__thiscall std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::operator [](c
onst unsigned int &)'
c:\program files\microsoft visual studio\vc98\include\map(94) : warning C4786: 'std::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::
_Kfn,std::less<unsigned int>,std::allocator<unsigned int> >::const_iterator,std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::_Kfn,std::less
<unsigned int>,std::allocator<unsigned int> >::const_iterator>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\map(93) : while compiling class-template member function 'unsigned int &__thiscall std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::operator [](c
onst unsigned int &)'
c:\program files\microsoft visual studio\vc98\include\utility(21) : warning C4786: 'std::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int>
>::_Kfn,std::less<unsigned int>,std::allocator<unsigned int> >::iterator,bool>::pair<std::_Tree<unsigned int,std::pair<unsigned int const ,unsigned int>,std::map<unsigned int,unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >::_Kfn
,std::less<unsigned int>,std::allocator<unsigned int> >::iterator,bool>' : identifier was truncated to '255' characters in the debug information
Linking...
MyClass.obj : error LNK2001: unresolved external symbol "private: static class std::map<unsigned int,unsigned int,struct std::less<unsigned int>,class std::allocator<unsigned int> > MyClass::m_timer" (?m_timer@MyClass@@0V?$map@IIU?$less@I
@std@@V?$allocator@I@2@@std@@A)
Debug/MyProg.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
MyProg.exe — 2 error(s), 5 warning(s)
кстати, на счёт варнингов... я делал
... << RSDN@Home 1.1.4 stable SR1 rev. 568>>