http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53164

             Bug #: 53164
           Summary: Undefined reference to template function instantiation
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: poletti.ma...@gmail.com


Created attachment 27266
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27266
A (hopefully) minimal test case

g++ 4.6.2 gives an undefined reference error in the attached code.
It works fine in clang++.

Set the macro WORKAROUND to 1 to workaround the issue (also highlighting the
fact that the template function can be instantiated).

Reply via email to