VC++ 7.1 does not require a user defined ctor when defining a constant

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Defining a constant of a class or a struct type requires a user defined ctor, right? If so, why does VC++ 7.1 compile the following code:

struct s { } const a;

.