https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86195
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Known to work| |7.3.0, 8.1.1 Summary|Ref-qualified nested class |[9 Regression] |member function issue |Ref-qualified nested class | |member function issue Known to fail| |8.1.0, 9.0 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- It seems to be fixed in (In reply to Paolo Monteverde from comment #2) > I spotted the original error on g++ (GCC) 8.1.1 20180531 running on Arch > Linux. OK, it seems to be fixed in 8.1.1 20180615 > The simplified example above is failing on > https://wandbox.org/permlink/VMBVdHgzkcH2xLlb. The only needed option is > -std=c++14 or above. That's 8.1.0, which is even older. I'll try to find what fixed it on the branch.