Opened 10 years ago
Last modified 9 years ago
#7573 new Feature Requests
Missing operator++, --, %
Reported by: | Owned by: | Matthias Schabel | |
---|---|---|---|
Milestone: | To Be Determined | Component: | units |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | Cc: | pipping@… |
Description
As reported on the boost-users list <https://groups.google.com/forum/?fromgroups=#!msg/boost-list/-8COkmhO_0w/10IGPCxOe4AJ>,
It would be nice if quantity<incrementable type> could increment that type -- same for decrement and modulus.
The attached patch seems to work in my local copy -- it would be nice to get rolled into a future release, however.
Attachments (1)
Change History (2)
by , 10 years ago
Attachment: | operators.diff added |
---|
comment:1 by , 9 years ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Add operator++, --, % to quantity