> Re: "Static initialisation initially zeros things out" > > Is that in the C++ spec? As far as I know, basic types like; > unsigned short emptyColor[4]; > will not be initialized at all, because they don't have a constructor.
Normally no, but for statics / globals, yes.
« Back to merge proposal
> Re: "Static initialisation initially zeros things out"
>
> Is that in the C++ spec? As far as I know, basic types like;
> unsigned short emptyColor[4];
> will not be initialized at all, because they don't have a constructor.
Normally no, but for statics / globals, yes.