On 09. 11. 20 9:28, Richard Smith wrote:
Right, this was made valid by P0641R2, which was voted into C++20 but was not moved as a defect report resolution against prior standards. So I think g++ is being more permissive than the standard requires (though as far as I can see, it would be a conforming extension to accept these cases retroactively), and libstdc++ seems to be relying on that lenience (probably unintentionally).
Thank you all for your help, the problem reduction and the reference to P0641R2 made things really clear for me. Now I see what is happening.
Kind regards, Pavel
_______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users