|
Boost Users : |
From: bernhard.maeder_at_[hidden]
Date: 2006-05-29 08:57:41
Hi Ron
Thanks for your fast reply, I'll going to check out your fix as soon
as possible.
Thanks
Bernhard
|---------+----------------------------------->
| | Ronald Garcia |
| | <garcia_at_[hidden]> |
| | Gesendet von: |
| | boost-users-bounces_at_list|
| | s.boost.org |
| | |
| | |
| | 24.05.2006 19:42 |
| | Bitte antworten an |
| | boost-users |
| | |
|---------+----------------------------------->
>-----------------------------------------------------------------------------------------------|
| |
| An: boost-users_at_[hidden] |
| Kopie: |
| Thema: Re: [Boost-users] [boost.multi_array] Question about iterators on |
| multi_array_views |
>-----------------------------------------------------------------------------------------------|
Greetings Bernard,
Indeed you have caught a bug in multi_array's view iterators. I have
crafted a fix that I will check into CVS whenever Sourceforge is
amenable. Thanks for the report.
ron
On May 24, 2006, at 8:07 AM, bernhard.maeder_at_[hidden] wrote:
> Hello everyone
>
> I'm trying to use the boost.multi_array's iterators and came across
a
> problem: calling end() on a certain multi_array_view only yields the
> same iterator, if it is called on exactly the same instance of the
> view. When, however, the view is created twice (using the same
> expression, of course), end() produces an iterator that doesn't
> compare to the first one.
>
> In other words:
> m_a[indices[index_range()][1]].end()
> != m_a[indices[index_range()][1]].end()
>
> I'm not sure whether this is just me, trying to use something in a
way
> it shouldn't be used, or if this is a limitation of the multi_array
> library. I'd appreciate your opinion!
>
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
___________________________________________________________________
Disclaimer:
Diese Mitteilung ist nur fuer die Empfaengerin / den Empfaenger
bestimmt.
Fuer den Fall, dass sie von nichtberechtigten Personen empfangen wird,
bitten wir diese hoeflich, die Mitteilung an die ZKB zurueckzusenden
und anschliessend die Mitteilung mit allen Anhaengen sowie allfaellige
Kopien zu vernichten bzw. zu loeschen. Der Gebrauch der Information
ist verboten.
This message is intended only for the named recipient and may contain
confidential or privileged information.
If you have received it in error, please advise the sender by return
e-mail and delete this message and any attachments. Any unauthorised
use or dissemination of this information is strictly prohibited.
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