|
From: Ferdinando A. <na...@am...> - 2008-01-02 09:10:49
|
On Dec 22, 2007 10:18 PM, Luigi Ballabio <lui...@gm...> wrote: > in the function you modified, the Date was passed by value on purpose. > That way, it could be modified [...] > whereas if you pass it by const reference, you have to introduce an > additional object: you're right. I can change it back, or keep the const reference and introduce the additional object only if the provided Date is invalid (at the cost of duplicationg 2 lines of code). Whatever you prefer... just let me know. > Also, why "settlDate"? Looks less readable to me. In the hpp files it's settlementDate, anyway I'll switch it back to settlementDate in the cpp too. thank you ciao -- Nando |