19 Mar
2012
19 Mar
'12
2:43 p.m.
Hello boosters, a design question: how often (if ever) and under which circumstances do you use shared_container_iterator? (http://www.boost.org/doc/libs/1_49_0/libs/utility/shared_container_iterator....) I don't feel too good about allocating a vector<> on the heap but I guess it was made for some reason and motivated by actuall need. What are good use cases for such iterator? Obviously returning a container from function (as presented in example) is not one of them. Cheers, Simon