Boost logo

Boost Users :

From: george (george13p_at_[hidden])
Date: 2006-03-26 14:30:52


hello!

boost::gregorian::days size(1);

boost::gregorian::date_period tmp(period.begin()+=size,period.end()-=size);

period=tmp;

is there any better way to increment/decrement the period object

I want
period.begin+=size;
period.end()-=size

to be permanent to period but it doesn't,it returns an object...

any idea??

thanks for any help.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net