empty class

Hi ,
Can some one tell me what are the default complier function called for the empty class ?
1
2
3
4
5
6
7
class A 
{
};
void main()
{
   A a ; 
}


Thanks in advance .

what do you mean 'default complier function' ?
anyway, unless there is a constructor, declaring things on stack generates no code, no matter what you are declaring.
main returns an int.
main returns an int.


what do you mean 'default complier function' ?
anyway, unless there is a constructor, declaring things on stack generates no code, no matter what you are declaring.



Can some one tell me what are the default complier function called for the empty class ?

Mind telling us what compiler you have anyways.

And why do you need an empty class?

Perhaps s/he is asking what functions are provided by default by the compiler?

A default constructor, destructor, copy constructor, and assignment operator.
thanks jsmith this is what i want . thanks for the help .
Topic archived. No new replies allowed.