[Sussex] C++ question

Geoff Teale Geoff.Teale at claybrook.co.uk
Mon Jan 20 12:06:01 UTC 2003


Chaps,

Here's a C++ question that's relevant to some work I'm doing at home at the
moment.

What is the most effecient way of redimensioning a dynamic array of pointers
to objects without erasing the existing contents?

Anyone who knows clever method doesn't involve creating a new array, copying
everything to that array, deleting the original array and then setting the
old array variable equal to the new array variable could you please say so.
I'm so sure someone must have a better way to do this...
-- 
geoff.teale at claybrook.co.uk
tealeg at member.fsf.org


The above information is confidential to the addressee and may be privileged.  Unauthorised access and use is prohibited.
 
Internet communications are not secure and therefore this Company does not accept legal responsibility for the contents of this message.
 
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
 
Claybrook Computing Limited is a subsidiary of Claybrook Computing (Holdings) Limited
Registered Office: Abbey House. 282 Farnborough Road, Farnborough, Hampshire GU14 7NJ
Registered in England and Wales No 1287205
 
A Hogg Robinson plc company





More information about the Sussex mailing list