Re: [Boost-users] iterators must go

I think a ranges can be used as insertion positions. The element could be inserted just before or after the start of the range. The details have to be worked out, like if it's before or after, and if it's before, if the range grows to include the element.
I thought that Boost has ranges for some time, and the upcoming C++ standard incorporates them. So, haven't the details *been* worked out? --John TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

On Fri, May 15, 2009 at 9:12 PM, John Dlugosz
I think a ranges can be used as insertion positions. The element could be inserted just before or after the start of the range. The details have to be worked out, like if it's before or after, and if it's before, if the range grows to include the element.
I thought that Boost has ranges for some time, and the upcoming C++ standard incorporates them. So, haven't the details *been* worked out?
Boost ranges are really pairs of iterators, so very different beasts from the iterators Andrei proposes. Insertion points are still represented as iterators rather than ranges in boost.ranges. - Rob. -- ACCU - Professionalism in programming - http://www.accu.org
participants (2)
-
John Dlugosz
-
Robert Jones