Title
Recursive reference in trailing-return-type
Status
nad
Section
9.3.4.6 [dcl.fct]
Submitter
Daniel Krügler

Created on 2011-09-04.00:00:00 last changed 156 months ago

Messages

Date: 2012-02-15.00:00:00

Rationale (February, 2012):

As noted in issue 1433, the point of declaration of the function name is after the complete declarator, i.e., after the trailing return type, so the recursion posited in this issue cannot occur.

Date: 2022-11-20.07:54:16

There doesn't appear to be an explicit prohibition of a function declaration of the form

    auto f() -> decltype(f());

Presumably there should be.

History
Date User Action Args
2012-02-27 00:00:00adminsetmessages: + msg3844
2012-02-27 00:00:00adminsetstatus: open -> nad
2011-09-04 00:00:00admincreate