#8604 closed Bugs (fixed)
constexpr does not imply 'const' in C++14
Reported by: | Marshall Clow | Owned by: | viboes |
---|---|---|---|
Milestone: | Boost 1.54.0 | Component: | chrono |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
In C++11, constexpr methods are implicitly const. In C++14, they are not.
Chrono has four methods that are marked as constexpr, but not const. They should be marked const.
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Milestone: | To Be Determined → Boost 1.55.0 |
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 9 years ago
Milestone: | Boost 1.55.0 → Boost 1.54.0 |
---|
Note:
See TracTickets
for help on using tickets.
(In [84411]) Marked four constexpr methods as const in preparation for C++1y; Refs #8604