> Yes, for vector, it has no error, but for set, it has errors and > warnings. You cannot modify the elements in a set. A set is a container with unique keys; modifying them might destroy the uniqueness property. Therefore, set::begin returns a const iterator. Regards, Martin
- stl const_iterator question. Fenglou Mao
- Re: stl const_iterator question. Martin v. Loewis
- Re: stl const_iterator question. Fenglou Mao
- Re: stl const_iterator question. Martin v. Loewis
- Re: stl const_iterator question. Martin v. Loewis
- Re: stl const_iterator question. Fenglou Mao
