Subject: Re: [boost] Small nitpick in boost::iterator
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-05-23 13:11:33
On 23/05/2011 19:01, 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 ?
I'm not sure the const is necessary, but the & definitely is.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk