Click here to Skip to main content
15,915,703 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Need a hint on implementing path picker WTL control. Pin
Ilushka20-Feb-03 4:47
Ilushka20-Feb-03 4:47 
GeneralATL input parameter Pin
Anonymous19-Feb-03 23:54
Anonymous19-Feb-03 23:54 
GeneralRe: ATL input parameter Pin
Steve S20-Feb-03 1:36
Steve S20-Feb-03 1:36 
GeneralMax value in collection (STL) Pin
Kevin McFarlane19-Feb-03 11:19
Kevin McFarlane19-Feb-03 11:19 
GeneralRe: Max value in collection (STL) Pin
Ryan_Roberts19-Feb-03 11:40
Ryan_Roberts19-Feb-03 11:40 
GeneralRe: Max value in collection (STL) Pin
Kevin McFarlane19-Feb-03 11:56
Kevin McFarlane19-Feb-03 11:56 
GeneralStrange behavior - affects performance Pin
Chen Venkataraman19-Feb-03 11:18
Chen Venkataraman19-Feb-03 11:18 
Generalvector.erase(iterator) Pin
Anonymous19-Feb-03 6:20
Anonymous19-Feb-03 6:20 
I have some code like this

MyClass MyObject;
vector<int> t;
for ( int i=0; i<5; i++)
t.push_back(i+100);


for ( it=t.begin(); it != t.end(); it++)
{
if ( MyObject.GetIntValue() == (*it)
t.erase(it);
}

where i am doing erase operation for current iterator on a vector.
This loop crashes somewhere in

template<class _init,
="" class="" _outit=""> inline
_OutIt _Copy_opt(_InIt _First, _InIt _Last, _OutIt _Dest,
_Nonscalar_ptr_iterator_tag)
{ // copy [_First, _Last) to [_Dest, ...), arbitrary iterators
for (; _First != _Last; ++_Dest, ++_First)
*_Dest = *_First;
return (_Dest);


Any idea what i am doing wrong?
GeneralRe: vector.erase(iterator) Pin
Joaquín M López Muñoz19-Feb-03 9:08
Joaquín M López Muñoz19-Feb-03 9:08 
GeneralQuestion about strange declaration of STL map. Pin
George219-Feb-03 2:57
George219-Feb-03 2:57 
GeneralRe: Question about strange declaration of STL map. Pin
Joaquín M López Muñoz19-Feb-03 9:04
Joaquín M López Muñoz19-Feb-03 9:04 
GeneralRe: Question about strange declaration of STL map. Pin
George219-Feb-03 19:47
George219-Feb-03 19:47 
GeneralQuick question on CAtlArray Pin
Steve Thresher19-Feb-03 2:45
Steve Thresher19-Feb-03 2:45 
GeneralATL events Pin
Shah Shehpori19-Feb-03 0:58
sussShah Shehpori19-Feb-03 0:58 
GeneralRe: ATL events Pin
Steve S19-Feb-03 1:47
Steve S19-Feb-03 1:47 
GeneralRe: ATL events Pin
TigerNinja_19-Feb-03 3:02
TigerNinja_19-Feb-03 3:02 
QuestionConstant time insert algorithm of STL Deque? Pin
George218-Feb-03 14:45
George218-Feb-03 14:45 
AnswerRe: Constant time insert algorithm of STL Deque? Pin
Tim Smith19-Feb-03 2:21
Tim Smith19-Feb-03 2:21 
GeneralRe: Constant time insert algorithm of STL Deque? Pin
George219-Feb-03 2:31
George219-Feb-03 2:31 
GeneralWindowless ActiveX Control - VC++ Pin
Raphael Amorim17-Feb-03 8:16
professionalRaphael Amorim17-Feb-03 8:16 
GeneralRe: Windowless ActiveX Control - VC++ Pin
geo_m17-Feb-03 23:13
geo_m17-Feb-03 23:13 
GeneralRe: Windowless ActiveX Control - VC++ Pin
Raphael Amorim18-Feb-03 3:13
professionalRaphael Amorim18-Feb-03 3:13 
GeneralRe: Windowless ActiveX Control - VC++ Pin
geo_m18-Feb-03 3:25
geo_m18-Feb-03 3:25 
GeneralRe: Windowless ActiveX Control - VC++ Pin
Raphael Amorim18-Feb-03 5:04
professionalRaphael Amorim18-Feb-03 5:04 
GeneralQuestion about memory leak in STL vector. Pin
George217-Feb-03 1:32
George217-Feb-03 1:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.