http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46245

           Summary: rejects function with late-specified return type as a
                    non-type template parameter
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: [email protected]
        ReportedBy: [email protected]


GCC rejects the following:

template<auto f()->int> struct A { };

"error: parameter declared 'auto'"

Reply via email to