Title
Overload resolution in constexpr functions
Status
c++11
Section
7.7 [expr.const]
Submitter
GB

Created on 2010-08-02.00:00:00 last changed 96 months ago

Messages

Date: 2010-11-15.00:00:00

[Voted into the WP at the November, 2010 meeting as paper N3218.]

Date: 2010-08-02.00:00:00
N3092 comment GB 26

It is not clear how overload resolution is performed inside the body of a constexpr function. In particular, if the function is invoked with parameters such that an expression evaluates to an integral 0, does that make the expression eligible for the null pointer conversion and thus potentially select a different overloaded function than in invocations in which the expression has a non-zero value? (Suggested answer: no.)

History
Date User Action Args
2014-03-03 00:00:00adminsetstatus: fdis -> c++11
2011-04-10 00:00:00adminsetstatus: dr -> fdis
2011-02-28 00:00:00adminsetstatus: drafting -> dr
2010-10-18 00:00:00adminsetstatus: ready -> drafting
2010-08-23 00:00:00adminsetmessages: + msg2772
2010-08-02 00:00:00admincreate