https://bugs.llvm.org/show_bug.cgi?id=43937
Bug ID: 43937
Summary: Explicit instantiation definition before member
function definitions does not define functions
Product: clang
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
template <class T> struct C {void foo();};
template struct C<int>;
template <class T> void C<T>::foo() {}
GCC<4.9 and clang (3.0~trunk) do not define C<int>::foo(), while GCC>=4.9
defines C<int>::foo()
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs