
26 Sep
2004
26 Sep
'04
8:03 p.m.
"Pavol Droba" <droba@topmail.sk> wrote in message news:20040926194147.GX29008@lenin.felcer.sk... | In other words, only algorithms like sorting and permutations are safe. | | Thorsten, please correct me if I'm wrong. | | | I find this behaviour quite dangerous and I don't see any great benefits it brings. It's always about finding the right balance between idiot safe usage and then allowing the programmer to get the job done. If ptr_iterator is not mutable we get 1. view-clone_manager can sort what-ever it views, but not itself. 2. we cannot provide all foreseeable algorithms as members which suggest that providing member is a bad idea 3. we risk users will just do &*begin(), &*end() to get the pointers anyway br Thorsten