Hi,
Ben Martin wrote on Sat, 11 Dec 2010 09:51:23 +1000:
> somethingThatWantsArrayOfCharPointers(ppAtts);
> Where ppAtts is a NULL terminated list of pointers to char* which are
> not duplicated/freed. ie, const strings or std::string::c_str() where
> the string object lasts beyond the scope that ppAtts is required for.
I'm not that C++ whizz so I was wondering why? Won't be all freed when the
function the somethingThatWantsArrayOfCharPointers(ppAtts); is in ends?
Received on Tue Dec 14 19:16:40 2010
This archive was generated by hypermail 2.1.8 : Tue Dec 14 2010 - 19:16:40 CET