Boost logo

Boost :

Subject: Re: [boost] static_vector using aligned_storage
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-12-17 18:50:30

On Tue, Dec 18, 2012 at 12:29 AM, Adam Wulkiewicz
<adam.wulkiewicz_at_[hidden]> wrote:
> Dave Abrahams wrote:
>> Hmm, it will be interesting to see how this works. Now that the
>> weasel-wording is gone, the allocator's pointer type, etc., have
>> specific meanings that might not be compatible with stack memory.
> Could you please elaborate? Isn't it always a pointer to a type passed to
> the allocator? How it may be treated differently for stack memory?

In theory it might be a street address that stores a certain value.
In practise it's probably not but I don't think it's guaranteed to be T*.


Boost list run by bdawes at, gregod at, cpdaniel at, john at