Follow Us
Contribute
  • Register
Errorbase is a collaborative writing project, that aims to build the largest trouble-shooting guide about all kinds of error messages.

Categories

0 votes

A class or structure (identifier2) is declared as a member of itself (identifier1). Recursive definitions of classes and structures are not allowed. Ex:


class C {
   C aC;    // C2460
};

requested by (170k points)

3 Solutions

0 votes

This article is a derivative work based on http://msdn.microsoft.com/en-us/library/1kf0205c.aspx" title="http://msdn.microsoft.com/en-us/library/1kf0205c.aspx" target="_blank">Compiler Error C2460 which is provided by http://msdn.microsoft.com/en-us/library/60k1461a.aspx" title="http://msdn.microsoft.com/en-us/library/60k1461a.aspx" target="_blank">MSDN Community Content - Visual C++.

solved by (170k points)
0 votes

Write the solution section to improve the article.


solved by (170k points)
0 votes

 


solved by (170k points)
...