Posted by shawn on July 16, 2001 at 01:12:56:
all-
how does van wieren's test.cpp file print out the number fo references to a foo object? i mean, when it says
cout << "Handler indicated that " << pid << " now has " << references << " references to that foo." << endl;
how does the compiler know what value is stored in references? i see the line where
result=test_handler_ptr->create_foo(pid, dataone, references);
but i don't see how or where references is defined.
thanks for any help