
In other threads, I see mentions of boost::copy. I'd like to find out about it. Which library is it in? How is it different from std::copy? (Once I know what it's part of, I'll just read the docs) --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.

AMDG John Dlugosz wrote:
In other threads, I see mentions of boost::copy. I'd like to find out about it. Which library is it in? How is it different from std::copy? (Once I know what it's part of, I'll just read the docs)
Probably http://www.boost.org/libs/range/doc/html/range/reference/algorithms/mutating... In Christ, Steven Watanabe

John Dlugosz wrote:
In other threads, I see mentions of boost::copy. I'd like to find out about it. Which library is it in? How is it different from std::copy? (Once I know what it's part of, I'll just read the docs)
It's in RangeEx, which was just added to the Range library in 1.43. The only difference between it an std::copy is that boost::copy uses an input range rather than two input iterators. http://svn.boost.org/svn/boost/tags/release/Boost_1_43_0/boost/range/algorit... -- Anthony Foglia Princeton Consultants (609) 987-8787 x233

It's in RangeEx, which was just added to the Range library in 1.43. The only difference between it an std::copy is that boost::copy uses an input range rather than two input iterators.
Ah, thanks. I'm familiar in general with how Range updates the standard algorithms to use ranges rather than loose pairs. The loose pairs of iterators is something that turned me off about the STL proposal in its earliest days. --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.

Le 18/06/2010 17:52, John Dlugosz wrote:
In other threads, I see mentions of boost::copy. I’d like to find out about it. Which library is it in? How is it different from std::copy? (Once I know what it’s part of, I’ll just read the docs)
Where std::copy takes two input iterators, boost::copy takes a single pass range. They both also take an output iterator.
participants (4)
-
Anthony Foglia
-
John Dlugosz
-
Mathias Gaunard
-
Steven Watanabe