[Bug c++/96445] extern template results in missing constructor symbol

2022-02-18 Thread tyu at eridex dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96445 --- Comment #2 from tyu at eridex dot org --- The extern template and constant are what would appear in the header file for class C. The explicit instantiation would appear in the source file: // -- C.h template class C { private

[Bug c++/96445] New: extern template results in missing constructor symbol

2020-08-03 Thread tyu at eridex dot org
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tyu at eridex dot org Target Milestone: --- Created attachment 48989 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48989&action=edit g++ -v output The following results in: undefined reference to `C