A
Alex Vinokur
Is this approach safe?
class Foo
{
// Stuff
};
void func1 (void *)
{
// Do something
}
void func2 (const Foo& foo)
{
func1 ((void*)&foo); // Is this safe
}
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
class Foo
{
// Stuff
};
void func1 (void *)
{
// Do something
}
void func2 (const Foo& foo)
{
func1 ((void*)&foo); // Is this safe
}
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn