Feb 13, 2003 #1 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 { };
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 { };
Feb 13, 2003 #2 Zyrenthian Programmer Mar 30, 2001 1,440 US It will get a default constructor/destructor and I am not sure but I think a default copy constructor as well. Matt Upvote 0 Downvote
It will get a default constructor/destructor and I am not sure but I think a default copy constructor as well. Matt
Feb 13, 2003 #3 chipperMDW Programmer Mar 24, 2002 1,268 US And a default assignment operator. Yes to the copy constructor. Upvote 0 Downvote