Boost logo

Boost :

Subject: Re: [boost] small_vector alignment
From: Tobias Loew (Tobias.Loew_at_[hidden])
Date: 2017-03-24 08:17:14


Hi Glen,

thanks for the tip with the allocator. In the meantime, I came up with
another solution: I made a new double type (not just a typedef) and
specialized its allignment:

Its only drawback is that accessing the "data()" member returns a
double_m128* which has to be reinterpreted as a double*.

Tobias

--
View this message in context: http://boost.2283326.n4.nabble.com/small-vector-alignment-tp4692694p4692891.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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