- Title
- Calling undefined constexpr functions
- Status
- cd3
- Section
- 7.7 [expr.const]
- Submitter
- Sean Hunt
Created on 2011-08-17.00:00:00 last changed 152 months ago
Messages
Date: 2012-02-15.00:00:00
[Voted into the WP at the February, 2012 meeting;
moved to DR at the October, 2012 meeting.]
Date: 2011-08-15.00:00:00
Proposed resolution (August, 2011): Change the indicated bullet of 7.7 [expr.const] paragraph 2
as follows: an invocation of an undefined constexpr function
or an undefined constexpr constructor outside the definition
of a constexpr function or a constexpr
constructor;
Date: 2011-08-17.00:00:00
The current wording appears to allow calling a constexpr
function that is never defined within the body of a constexpr
function. (The wording was intended to allow mutually-recursive
constexpr functions but require that the not-yet-defined
function be defined before it would be needed in an actual constant
expression.)
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-03-03 00:00:00 | admin | set | status: drwp -> cd3 |
| 2012-11-03 00:00:00 | admin | set | status: dr -> drwp |
| 2012-02-27 00:00:00 | admin | set | messages: + msg3798 |
| 2012-02-27 00:00:00 | admin | set | status: ready -> dr |
| 2011-09-06 00:00:00 | admin | set | messages: + msg3445 |
| 2011-08-17 00:00:00 | admin | create | |