Title
N4035, N3748 Implicit Evaluation of "auto" Variables and Arguments
Status
open
Section
[dcl.spec.auto]
Submitter
Peter Gottschling

Created on 2013-08-30.00:00:00 last changed 128 months ago

Messages

Date: 2014-07-01.21:57:43

http://open-std.org/JTC1/SC22/WG21/docs/papers/2014/n4035.pdf

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3748.pdf

Reviewed in Chicago 2013. Stroustrup recommended looking into Vandevoorde's solution of doing a type manipulation instead of running code in a conversion since there doesn't seem to a palatable reason for running code, and thought that the solution should be simplified, and it should be much better than what you can hack today. The author is encouraged to pursue the idea further.

Discussed in Rapperswil 2014.

Straw poll: On the proposal as is:

SF 0 - WF 1 - N 8 - WA 13 - SA 2

Stroustrup said his reading of this is that we agree there's a problem, but we don't think that this is the solution.

Straw poll: See a new proposal based on this one, but with "using auto" only applying to variable and data member initializers:

SF 2 - WF 8 - N 8 - WA 1 - SA 3

Carruth suggested writing a new paper with more rationale/explanation of the tradeoffs, decisions, etc., and Dennett agreed.

History
Date User Action Args
2013-08-30 00:00:00admincreate