[Bug c++/82657] New: when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation

2017-10-22 Thread niqiuha at gmail dot com
Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: niqiuha at gmail dot com Target Milestone: --- typedef bool(*func)(int); //template //class TC1

[Bug c++/82657] when using a template function pointer as a non-type template parameters, the template function will not be defined in some situation

2017-10-22 Thread niqiuha at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82657 --- Comment #1 from la wanz --- Created attachment 42432 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42432&action=edit the code fail to compile