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
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