incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-678) [XLC++ 9.0/AIX] unsats on class template member function taking function with typedef'd parameters
Date Fri, 07 Dec 2007 01:24:43 GMT
[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.


Mime
View raw message