make Boost.Python respect alignment of types
未关闭
- 主要语言
- C++
- 星标
- 537
- 派生
- 223
- 平均合并
- 11 小时 22 分钟
- 30 天内合并 PR
- 2
描述
Currently if a type has an alignment, such as
```
struct alignas(32){
double pos[3];
};
```
Boost.Python will merrily proceed to violate the alignment required by the type and place at any address in memory. This makes a big problem for sharing code utilizing vectorization (SSE) and a common example of this is the passing around of Eigen types.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。