|
From: Andrea <mar...@go...> - 2010-02-23 20:38:24
|
Hi, I saw this comment and read the code for curiosity: for (; cf>=leg.begin() && (*cf)->date()==paymentDate; --cf) my question is is it legal to decrement an iterator when it is at .begin()? can this ever be false: "cf>=leg.begin()"? it reminds me the trick to do a backward for loop with a size_t. or maybe it is just nonsense... |