Subject: Re: [boost] Small nitpick in boost::iterator
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-05-23 13:14:05
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk