Dear all,
I want to modify a object's value via a iterator, for example,
set<CObject,...>::iterator i;
this statement:
(*i).id=0;
can not pass the compiler, "..." is the allocator.
How can I declare a no-const iterator in gcc STL?
Sincerely Yours,
FengLou Mao
*******************************
ADD:Mr. FengLou Mao
Peking University
BeiJing
P.R.China
Tel:86-10-62751490
Fax:86-10-62751725
