Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2012-03-12T13:10:40Z by flodstrom
SystemAdmin
SystemAdmin
549 Posts
ACCEPTED ANSWER

Pinned topic bug with IBM compiler

‏2012-02-06T10:50:00Z |
I found a bug with IBM xl compiler on AIX 6.1 version 11.01.0000.0006
This is the test code:

template <typename T>
class B
{
public:
B( T & t ):_t( t ) {}
T & _t;
typename T::type pippo;

};

template <typename T, typename U = int>
class A
{
public:
A():_b( *this ) {}
typedef U type;
B <="" t,="" u=""> > _b;
};

int main()
{

A <int> *a = new A<int>;
B<A< int > > b(*a);

return 0;
}

Is this the right place to post it?
If no, could you tell me where should I post the bug?
(I am not an IBM employee)

Yours Sincerely,
Nur Fadel

Politecnico di Milano
Italy
Updated on 2012-03-12T13:10:40Z at 2012-03-12T13:10:40Z by flodstrom