|
|
|
|
|
by pierrebai
707 days ago
|
|
The article is just plain wrong about classes: if you have declared any constructor, then the language will not provide a default constructor and default-initialization will fail with a compiler diagnostic. So their claim that "T t;" will "do nothing" is incorrect. class T
{
public:
T(int);
};
T t;
Will fail. |
|