BloombergLP::bdlt::operator++

Advance date by one day and return its previous value.

Synopsis

Declared in <bdlt_date.h>

bdlt::Date
operator++(
    Date& date,
    int unused);

Description

Set the specified date object to have the value that is one day later than its current value, and return the value of date on entry. The behavior is undefined if the value of date on entry is 9999/12/31.

Return Value

previous value of date

Parameters

NameDescription
datedate to advance
unusedunused argument distinguishing the postfix operator