[AGENT++] Question about ownership
Nicolai G.
utromvecherom at gmail.com
Thu Feb 17 17:09:09 CET 2011
Hi,
I'm I right: the pointers passed to methods
RequestList::set_v3mp(v3MP* mp);
RequestList::set_vacm(Vacm* v);
do not pass the ownership over v3MP* and Vacm*, and they are
considered to exist during RequestList object lifetime?
I'm asking becouse in the examples I see v3MP* and Vacm* created via
new operator,
but no delete operator complements them, and in the sources I didn't
find them (class members that hold the pointers) to be deleted.
--
Nicolai Grodzitski
More information about the AGENTPP
mailing list