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

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

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004