Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ Empty Classes

Status
Not open for further replies.

ccali

Programmer
Feb 13, 2003
3
US
Does anybody know the answer to this question, I'm very interested:

What default methods are declared implicitly by the C++ compiler for the class below:

class Empty
{
};
 
It will get a default constructor/destructor and I am not sure but I think a default copy constructor as well.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top