Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-10-28 16:33:23


"Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:

> David Abrahams wrote:
>> "Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:
>>
>>> Michael Shepanski wrote:
>>>> On 10/27/05, David Abrahams <dave_at_[hidden]> wrote:
>>>
>>> FWIW, there is sound (IMO at least) alignment proposal for the std,
>>> so we may not need to worry anymore about this in the not so distant
>>> future.
>>
>> I don't think that proposal gives us any more guarantees than we have
>> today.
>>
> Oh.. I was refering to n1546..

Oh, Attila's proposal?

> Do you as well?

No, sorry, I was referring to the TR1 type traits spec.

> I interpreted that the idea there is to be able to spell:
>
> char align_as<T> storage[sizeof(T)];
>
> And let the compiler do the magic.
>
> Isn't that all we need?
> Or is that the proposal was rejected?

Many proposals don't make it without ever really being rejected. It's
probably not -- as of yet -- accepted, though.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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