inline operator delete redefinition and in-charge deleting destructor
llewelly@xmission.com
llewelly@xmission.com
Wed May 12 03:50:00 GMT 2004
Eljay Love-Jensen <eljay@adobe.com> writes:
> Hi Jon,
>
> >That's [(void) for the destructor] a matter of style, they mean the
> same thing and are equally valid.
>
> I believe that is incorrect*, and that they are explicitly invalid for
> destructors and default constructors.
>
> They are optional for other member methods, and typically in C++ are omitted.
>
> >Again, both [<stdio.h> and <cstdio>] are valid.
>
> I believe that is incorrect*. In C the header file is <stdio.h>,
> whereas in C++ <cstdio> is the header file.
See D.5/1, table 100 . <stdio.h> is deprecated, but still normative. I
doubt it will ever be removed, unless C merges with C++, which
seems unlikely.
More information about the Gcc-help
mailing list