P
piboye
Hi !
I'm a academician in china. I have been intereted in C++ lasting.
In reading the C++ Primer book, i have a trouble about union.
In the book ,it said that union can have constructors and destructor
,or other member functions.
I can understand using constructors and memeber functions,but what
is destructor used for?
I have appealled to the forums in chinese ,but no enough usefull
feedback.
I'm a academician in china. I have been intereted in C++ lasting.
In reading the C++ Primer book, i have a trouble about union.
In the book ,it said that union can have constructors and destructor
,or other member functions.
I can understand using constructors and memeber functions,but what
is destructor used for?
I have appealled to the forums in chinese ,but no enough usefull
feedback.