id summary reporter owner description type status milestone component version severity resolution keywords cc 5328 Addition of increment and decrement operators to chrono::time_point Joachim Faulhaber viboes "From the viewpoint of generic interoperability fundamental operations are needed for possible generic recipient libraries of boost::chrono, that impose some fundamental requirements on their parameter types. E.g. Intervals and interval containers of Boost.Icl rely on the existence of an increment and decrement operator for intervals an interval containers of chrono::time_points. `time_point& operator++()` is an incrementation of one least steppable unit for integral `rep` types and a unit step for floating point `rep` types. It repesents one tick of the clock and is equivalent with incrementing the time_point's `duration`. So it can be efficiently implemented by incrementation of the underlying `rep_` member. This ticket requests the addition of the four common in/decrementation operations: {{{ #!c++ time_point& operator++() ; time_point operator++(int); time_point& operator--() ; time_point operator--(int); }}} " Feature Requests closed Boost 1.47.0 chrono Boost Development Trunk Problem fixed increment decrement chrono time_point