Construct a queue with a initial size ...



 DEVELOP > c-Plus-Plus > Construct a queue with a initial size ...

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "PicO"
Date: 12 Aug 2007 02:15:47 AM
Object: Construct a queue with a initial size ...
Can i construct a queue with a initial size ?
i want to construct with a initial size to save processing for
allocating memory like vectors ...
.

User: "=?ISO-8859-1?Q?Erik_Wikstr=F6m?="

Title: Re: Construct a queue with a initial size ... 12 Aug 2007 03:57:37 AM
On 2007-08-12 09:15, PicO wrote:

Can i construct a queue with a initial size ?

i want to construct with a initial size to save processing for
allocating memory like vectors ...

Not that I know of, but if you are worried about that you can use
std::list as the underlying container.
--
Erik Wikström
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER