Discussion: Copying void *?
Afficher un message
Vieux 21/02/2008, 23h43   #4
Travis
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Copying void *?

So the constuctor is basically

myClass::myClass (const myClass &rhs)
{
string1 = rhs.string1;
string2 = rhs.string2;
voidstar = rhs.voidstar;
}

dangerous?

what I want is to have people be able to insert into the tree and
throw whatever type they want into the tree and i'll store it as a
void *.
  Réponse avec citation
 
Page generated in 0,05858 seconds with 9 queries