John,
Coincidentally AFAIK on this side too, the empty set is undocumented.
I discovered it myself.
Working on an exe for Windows (teems with ready-made structures) and having to
initialize structure objects (their fields in fact) to zero I used to use the
ZeroMemory() macro.
Example:
WNDCLASS wc;
ZeroMemory(&wc, sizeof(wc));
I cannot explain, but I had an inspiration to initialize a structure object to
zero with an empty set while it was being declared and... it worked!
WNDCLASS wc={};
I tried the process with other structures from the Windows API and mine myself
and... it worked!
Best,
Geraldo
--- In [email protected], "John" <jm5...@...> wrote:
>
> --- In [email protected], "py2akv" <gdb@> wrote:
> >
> > or simply holding_cmd = {}; if you may already have declared holding_cmd.
>
> That's not standard C, or C++ AFAIK?
>