Changes between Initial Version and Version 2 of Ticket #5129
- Timestamp:
- Oct 22, 2012, 10:17:31 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5129
- Property Version Boost 1.45.0 → Boost 1.44.0
-
Ticket #5129 – Description
initial v2 1 1 The following example won't compile on VS 2008 boost v 1.44: 2 2 3 4 {{{ 3 5 #include "boost/bind.hpp" 4 6 #include "xmmintrin.h" … … 11 13 boost::bind( example, __m128() )(); 12 14 } 15 }}} 16 13 17 14 18 The reason being that __m128 doesn't have default alignment, causing the following error: "error C2719: 'a1': formal parameter with __declspec(align('16')) won't be aligned". The example function in this case would be able to take the argument, the culprit is in the constructor of list1 which takes accepts by value, when in this case we'd need to accept by const reference ( I presume without being familiar with the details of binds implementation ).