Andre Poenitz wrote:
I think in case like for_each(pit, plist.end(), bind(&ParagraphList::push_back, ref(pl), _1)); vs for (pit = plist.begin(); pit != plist.end(); ++pit) pl.push_back(*pit); we should always use the plain loop excatly for the reason that it is easier to understand as it requires less concepts to be familar with.
+1 Abdel.