Opened 9 years ago
#9044 new Bugs
Enable constexpr for applicable operators.
Reported by: | Daryle Walker | Owned by: | Daniel Frey |
---|---|---|---|
Milestone: | To Be Determined | Component: | operators |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | constexpr | Cc: |
Description
Some operators, like the ones for comparison & equality, generally don't require mutating operations for their work. That means those functions can be constexpr
if they use a literal operand type and the base operators are themselves constexpr
.
Note:
See TracTickets
for help on using tickets.