Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
XLC++/AIX
-
Incorrect Behavior
Description
$ cat t.cpp && xlC -qversion && xlC t.cpp
template <class T>
struct A
{
typedef T U;
void apply(void f(const U&)) const;
};
template <class T>
void A<T>::apply(void f(const U&)) const { }
struct S { };
void bar (const S&) { };
int main ()
{
A<S>().apply(bar);
return 0;
}
IBM XL C/C++ Enterprise Edition for AIX, V9.0
Version: 09.00.0000.0000
ld: 0711-317 ERROR: Undefined symbol: .A<S>::apply(void(const S&)) const
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
$
Attachments
Issue Links
- relates to
-
STDCXX-603 [IBM XLC++ 9.0] unsats on std::valarray<S>::apply() in 26.valarray.members.stdcxx-313.cpp
- Closed