C++ PATCH for c++/90124 - bogus error with incomplete type in decltype
Wed Apr 17 17:57:00 GMT 2019
On Wed, Apr 17, 2019 at 10:45 AM Marek Polacek <email@example.com> wrote:
> This fixes a recent P1. Here we were giving the "invalid use of incomplete
> type" error, but "the operand of the decltype specifier is an unevaluated operand"
> and so the objects it names are not required to have a definition.
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
> 2019-04-17 Marek Polacek <firstname.lastname@example.org>
> PR c++/90124 - bogus error with incomplete type in decltype.
> * typeck.c (build_class_member_access_expr): Check
More information about the Gcc-patches