Boost logo

Boost :

Subject: Re: [boost] [unordered] please don't allocate memory in the default constructor
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-08-24 16:25:59


2009/8/24 Stewart, Robert <Robert.Stewart_at_[hidden]>:

> You might also point the default constructed instance to a special, static bucket so the end iterator can refer to that.

I can't do that because I'm fully supporting allocators, so pointers
can only point to memory allocated with the allocator.

Daniel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk