On Saturday, 19 March 2016 at 15:10:56 UTC, Alex wrote:
void* funVoldemort(size_t my_size)
The term 'voldemort type' refers to a public type, just an
unnamed one. What you have here is a pointer to a private type...
and void* is something you often should avoid since the compiler
doesn't
Finally. A question about Voldemort types :)
I have the following class, with an accompanying function. Skip
the code to the link for a runnable version.
/*--- code begin ---*/
class roof
{
int huhu = 9;
void* funVoldemort(size_t my_size)
{
auto gg = huhu;
if(my_size