[Bug c++/68975] New: Request: Provide alternate keyword for decltype in C++03

eric at efcs dot ca gcc-bugzilla@gcc.gnu.org
Fri Dec 18 00:21:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68975

            Bug ID: 68975
           Summary: Request: Provide alternate keyword for decltype in
                    C++03
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eric at efcs dot ca
  Target Milestone: ---

`__typeof__` does not make a good replacement for `decltype` because it doesn't
deduce references. It would be nice if decltype were provided under an
alternate keyword in C++03 and earlier.


More information about the Gcc-bugs mailing list