Boost logo

Boost :

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.

In Christ,
Steven Watanabe

Boost list run by bdawes at, gregod at, cpdaniel at, john at