|
Boost : |
Subject: Re: [boost] [iterator] Silent-but-deadly bug in iterator_facade category
From: Marc Glisse (marc.glisse_at_[hidden])
Date: 2013-05-07 03:16:20
On Tue, 7 May 2013, Nathan Ridge wrote:
>> In my experience, the easiest way to handle this painful reference
>> requirement is to ignore it and pretend that the standard categories are
>> only about traversal. I've never had anything break because of this.
>
> Is the OP's problem not an example of pretending that the standard
> iterator categories are only about traversal and having something
> break as a result?
As far as I can tell, the OP's problem only appeared when he started using
boost traversal iterator categories, and things were working fine when he
had random_access_iterator_tag (violating the reference requirement).
Did I misunderstand his post?
-- Marc Glisse
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk