Hi, I was wondering if the atomic types in C++ have constructors and destructors?
Printable View
Hi, I was wondering if the atomic types in C++ have constructors and destructors?
Do you mean automatic, I have never heard of atomic types.
By "atomic types" I take it that you mean the integral types like int and char. If so, then I say yes.
Code:int x; // uses default constructor
int y(0); // uses copy constructor
Yeah, I mean the built-in keyword types where you put "int" or "char" for instance. Thanks for the replies.
You're welcome :-)