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-679) [XLC++ 9.0/AIX] failure to apply template conversion operator
Date Fri, 07 Dec 2007 01:36:43 GMT
[XLC++ 9.0/AIX] failure to apply template conversion operator
-------------------------------------------------------------

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


$ cat t.cpp && xlC -c t.cpp 

struct A 
{ 
    template <class T> 
    operator T& (); 
}; 

int main () 
{ 
    A a; 
    (int)a; 
    return 0; 
} 
"t.cpp", line 11.10: 1540-0216 (S) An expression of type "A" cannot be converted to type "int".

$ 

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