[Bug c++/102044] another case of template function signature incorrectly dropping top-level cv-qualifier with function parameter of array of template function pointer

nickhuang99 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 26 11:09:43 GMT 2021


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

--- Comment #2 from qingzhe huang <nickhuang99 at hotmail dot com> ---
The root cause of this issue maybe similar to those  PR102033, PR102034,
PR102042 etc., however, this is still a distinctive case because of its nature.
It is not a "typename" indicating its a dependent-type, rather using
"decltype". 

So, in this sense, to tackle this issue may need a different approach.
Currently I haven't found a similar function to resolve "decltype" type similar
to "resolve_typename_type". If anybody knows one, please let me know.


More information about the Gcc-bugs mailing list