From 762e6030136ddb4fe74765abda634046fb8e8f9d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 7 Feb 2001 22:27:02 +0000 Subject: [PATCH] rename counting_iterator() -> make_counting_iterator() [SVN r9015] --- include/boost/counting_iterator.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/counting_iterator.hpp b/include/boost/counting_iterator.hpp index bbbe994..1580756 100644 --- a/include/boost/counting_iterator.hpp +++ b/include/boost/counting_iterator.hpp @@ -22,12 +22,14 @@ // // template // typename counting_iterator_generator::type -// counting_iterator(Incrementable); +// make_counting_iterator(Incrementable); // // A function which produces an adapted counting iterator over values of // Incrementable. // // Revision History +// 07 Feb 2001 rename counting_iterator() -> make_counting_iterator() +// (David Abrahams) // 04 Feb 2001 Added counting_iterator_generator; updated comments // (David Abrahams) // 24 Jan 2001 initial revision, based on Jeremy Siek's @@ -178,7 +180,7 @@ struct counting_iterator_generator // Manufacture a counting iterator for an arbitrary incrementable type template inline typename counting_iterator_generator::type -counting_iterator(Incrementable x) +make_counting_iterator(Incrementable x) { return iterator_adaptor,