Re: [PATCH] c++: Implement -Wctad-maybe-unsupported.

2020-09-20 Thread Jason Merrill via Gcc-patches
On 9/19/20 5:34 PM, Marek Polacek wrote: I noticed that clang++ has this CTAD warning and thought that it might be useful to have it. From clang++: "Some style guides want to allow using CTAD only on types that "opt-in"; i.e. on types that are designed to support it and not just types that *happ

[PATCH] c++: Implement -Wctad-maybe-unsupported.

2020-09-19 Thread Marek Polacek via Gcc-patches
I noticed that clang++ has this CTAD warning and thought that it might be useful to have it. From clang++: "Some style guides want to allow using CTAD only on types that "opt-in"; i.e. on types that are designed to support it and not just types that *happen* to work with it." So this warning warn