Boost logo

Boost Users :

Subject: [Boost-users] [Iterator] shared_container_iterator usability
From: Szymon Gatner (szymon.gatner_at_[hidden])
Date: 2012-03-19 10:43:34

Hello boosters,

a design question: how often (if ever) and under which circumstances
do you use 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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at