make Boost.Python respect alignment of types
オープン
- 主要言語
- C++
- スター
- 537
- フォーク
- 223
- 平均マージ
- 11時間 22分
- マージ済み PR(30日)
- 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 はまだ評価されていません。