This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: inline operator delete redefinition and in-charge deletingdestructor
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.
Sincerely,
--Eljay
* I may be mistaken. I'd have to review the ISO 14882 spec to be sure.