make Boost.Python respect alignment of types
Abierto
- Lenguaje dominante
- C++
- Estrellas
- 537
- Forks
- 223
- Merge medio
- 11 h 22 min
- PR fusionados (30 d)
- 2
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.