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

            Bug ID: 57794
           Summary: using keyword for function alias doesn't work with
                    plus suffix return type
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: littlekid87 at gmail dot com

In gcc 4.8.1,

The following doesn't seems to work:

using to_lower_fn_ptr = [](input_base_type, const std::locale&) ->
input_base_type;



When compile it gives the following error:

error: expected type-specifier before '[' token
     using to_lower_fn_ptr = [](input_base_type, const std::locale&) ->
input_base_type;

Reply via email to