What all does a compiler add to an empty class declaration?
Posted
by cambr
on Stack Overflow
See other posts from Stack Overflow
or by cambr
Published on 2010-04-17T20:18:19Z
Indexed on
2010/04/17
20:23 UTC
Read the original article
Hit count: 269
Suppose, I write
class A { };
compiler should provide (as and when needed)
- a constructor
- a destructor
- a copy constructor
- = operator
Is this all what the compiler provides? Are there any additions or deletions to this list?
© Stack Overflow or respective owner