Opened 8 years ago
#9959 new Bugs
boost::date_time::date addition/subtraction assignment operators
| Reported by: | Owned by: | az_sw_dude | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | date_time |
| Version: | Boost 1.55.0 | Severity: | Cosmetic |
| Keywords: | Cc: |
Description
Is there a reason why the += and -= operators of boost::date_time::date return a copy instead of a reference to the current object? Usually I would always expect a reference to be returned for any implementation of these operators.
Thank you for your answers.
Note:
See TracTickets
for help on using tickets.
