STL reference and return valuesI don't quite understand your second comment above and how that differs from the 1st option...? tha...
STL reference and return valuesthanks Sohguanh! Not sure how I got the impression that raw pointers can't be put in STL containers...
STL reference and return valuesHi Cubbi, thanks very much. Hm, one problem is that STL containers can't contain standard C++ point...
STL reference and return valuesAlso, I'm not sure if my 2 overloaded functions are useful or correct. thanks
STL reference and return valuesThanks! I think I have most of it working now, using boost shared_ptr. Unfortunately, now I am st...