in reply to
Re^3: Redundant function calls in constructor?
in thread Redundant function calls in constructor?
The rant is valid - thank you for your thoughts. However
This program is started manually, generates code templates. In this special case it is highly unlikely that localtime calls will happen at midnight and/or New Year's Eve.
The dates are only used in commented headers, wasn't my choice :) HOwever it's possible, that sometime somebody will have and idea to read the headers and produce some statistics, so one should take care of it.
Thank you again. Much can be learned from the rants of the experienced :).
I'm too lazy to be proud of being impatient.