[XLC++ 9.0/AIX] unsats on class template member function taking function with 
typedef'd parameters
--------------------------------------------------------------------------------------------------

                 Key: STDCXX-678
                 URL: https://issues.apache.org/jira/browse/STDCXX-678
             Project: C++ Standard Library
          Issue Type: Bug
          Components: External
         Environment: XLC++/AIX
            Reporter: Travis Vitek



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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to