
Jeff,
The main problem I see with this syntax is that d + months(MONTHS) + DAYS; is not equivalent to d + DAYS + months(MONTHS); and I sometimes this might lead to the error prone code. This is why I prefer to use add_month function.
JG> True. And this fact has been one factor in keeping this function out of the JG> library before. Still, if it is well documented I'm starting to think the JG> risk might be worth it since 'month' becomes a first class object that can be JG> used in interfaces and as a data member in classes. True. In any case, there is a point of having the add_month(const date&, int) function as well.
I'm currently using my home grown date classes. I will switch to the Date-Time, once these changes will be available in the boost release.
JG> You are aware that this won't be for a couple months (at least), right? Sure. Val