7.1 ICE

  • Thread starter Thread starter Stefan Slapeta
  • Start date Start date
S

Stefan Slapeta

Hi,

incorrect, but should not be an ICE:

template <typename T>
class XT {};

typedef XT<int> X;

class X{}; // ICE


Please could anybody verify whether it is fixed in 8.0?

Thanks, Stefan
 
c:\Test\ICE\ICE\ICE.cpp(12) : error C2371: 'X' : redefinition; different
basic types

c:\Test\ICE\ICE\ICE.cpp(10) : see declaration of 'X'

Ronald Laeremans

Visual C++ team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top