Boost logo

Boost Users :

Subject: Re: [Boost-users] boost.iterators - iterator_facade issue with aligned types.
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-01-21 14:50:38


OK, thanks; I'll put it in.

At Thu, 20 Jan 2011 20:46:45 +0100,
Christoph Heindl wrote:
>
> [1 <text/plain; ISO-8859-1 (quoted-printable)>]
> On Wed, Jan 19, 2011 at 8:39 PM, Christoph Heindl
> <christoph.heindl_at_[hidden]> wrote:
> > On Wed, Jan 19, 2011 at 7:12 PM, Dave Abrahams <dave_at_[hidden]> wrote:
> >>
> >> I *think* that change is safe to make.  Care to submit it as a patch
> >> at http://svn.boost.org/ ?
> >
> > Sure.
>
> Failed to submit the patch twice. The server tells me to enable
> cookies once I hit "Create Ticket", but cookies are enabled.
>
> Here's my ticket content:
>
> It seems to me that boost::iterator_facade cannot cope with aligned
> types when the 'Reference = use_default' template argument is not a
> reference, which can happen if transform_iterator is used to return
> the result of a temporary calculation (by value of course).
>
> Patch attached. Tested against non-boost test cases.
>
> See
> http://thread.gmane.org/gmane.comp.lib.boost.user/65215
>
> Best regards,
> Christoph
> [2 type_with_alignment.patch <application/octet-stream (base64)>]
>
> [3 <text/plain; us-ascii (7bit)>]
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net