
23 May
2011
23 May
'11
5:39 p.m.
On 23/05/2011 19:14, Steven Watanabe wrote:
AMDG
On 05/23/2011 10:01 AM, Joel Falcou wrote:
Seems boost.Iterator pass some parameter by value in the make(Reference r) function. However, MSVC 2010 and I suspect below dont like passing value which alignment is greater than 8 ( **cough** SIMD vector **cough** )
The fix is trivial, adding const& to this function. Should I go ahead and commit this to trunk ?
In C++03, Reference const& is ill-formed if Reference is already a reference.
True, typename boost::add_reference<Reference>::type could work instead.