|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r58221 - sandbox/itl/libs/itl/example/std_copy_
From: afojgo_at_[hidden]
Date: 2009-12-07 10:29:10
Author: jofaber
Date: 2009-12-07 10:29:09 EST (Mon, 07 Dec 2009)
New Revision: 58221
URL: http://svn.boost.org/trac/boost/changeset/58221
Log:
Corrected typos. Stable {msvc-8.0,9.0,10.0; gcc-3.4.4,4.3.2}
Text files modified:
sandbox/itl/libs/itl/example/std_copy_/std_copy.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/itl/libs/itl/example/std_copy_/std_copy.cpp
==============================================================================
--- sandbox/itl/libs/itl/example/std_copy_/std_copy.cpp (original)
+++ sandbox/itl/libs/itl/example/std_copy_/std_copy.cpp 2009-12-07 10:29:09 EST (Mon, 07 Dec 2009)
@@ -61,7 +61,7 @@
// We are going to 'std::copy' those segments into an interval_map:
interval_map<int,int> segmap;
- // Use an 'itl::inserter' from <boost/itl/interator.hpp> to call
+ // Use an 'itl::inserter' from <boost/itl/iterator.hpp> to call
// insertion on the interval container.
std::copy(segments.begin(), segments.end(),
itl::inserter(segmap, segmap.end()));
@@ -72,7 +72,7 @@
// intending to compute an aggregation result. So we are not interested
// the std::insert semantincs but the aggregating itl::addition semantics.
// To achieve this there is an itl::add_iterator and an itl::adder function
- // provided in <boost/itl/interator.hpp>.
+ // provided in <boost/itl/iterator.hpp>.
std::copy(segments.begin(), segments.end(),
itl::adder(segmap, segmap.end())); //Aggregating associated values
cout << "itl::adding : " << segmap << endl;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk