Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
XLC++/AIX
-
Compiler Error
Description
$ 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". $
Attachments
Issue Links
- relates to
-
STDCXX-605 [IBM XLC++] errors compiling dynatype.cpp
- Closed