|
I didnt follow this thread, I just wanted to say theres probably no point in passing bool's by reference OR by pointer. Really. Do a sizeof(bool) and a sizeof(bool*) and I guarantee they're the same size. If you want the values to stick after the function changes them, use pass by reference since you're using C++.
void change(bool& foo);
|