DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
No More Array Errors (Part I) - Block(C++)

Changing Block Size

The major advantage of Blocks over arrays is the reallocation feature. Aside from functions like assignment and the copy constructor, which perform reallocation implicitly, there are two operations that you can use to request reallocation explicitly: reserve() and size().


Next topic: The reserve operation
Previous topic: How this is possible

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005