Boost logo

Boost :

Subject: [boost] small_vector alignment
From: Tobias Loew (Tobias.Loew_at_[hidden])
Date: 2017-03-21 11:20:39


Hi,

I wanted to use a boost::container::small_vector for 64-bit aligned doubles
(to be used with SSE):

But it seems that the "small-buffer" has a fixed calculated alignment which
only depends on the value-type and does not consider the alignment of the
(dynamic) allocator.
Is this intended or is it a bug in the implementation?

best regards

Tobias

--
View this message in context: http://boost.2283326.n4.nabble.com/small-vector-alignment-tp4692694.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