mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-20 16:12:10 +02:00
rename counting_iterator() -> make_counting_iterator()
[SVN r9015]
This commit is contained in:
@ -22,12 +22,14 @@
|
|||||||
//
|
//
|
||||||
// template <class Incrementable>
|
// template <class Incrementable>
|
||||||
// typename counting_iterator_generator<Incrementable>::type
|
// typename counting_iterator_generator<Incrementable>::type
|
||||||
// counting_iterator(Incrementable);
|
// make_counting_iterator(Incrementable);
|
||||||
//
|
//
|
||||||
// A function which produces an adapted counting iterator over values of
|
// A function which produces an adapted counting iterator over values of
|
||||||
// Incrementable.
|
// Incrementable.
|
||||||
//
|
//
|
||||||
// Revision History
|
// Revision History
|
||||||
|
// 07 Feb 2001 rename counting_iterator() -> make_counting_iterator()
|
||||||
|
// (David Abrahams)
|
||||||
// 04 Feb 2001 Added counting_iterator_generator; updated comments
|
// 04 Feb 2001 Added counting_iterator_generator; updated comments
|
||||||
// (David Abrahams)
|
// (David Abrahams)
|
||||||
// 24 Jan 2001 initial revision, based on Jeremy Siek's
|
// 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
|
// Manufacture a counting iterator for an arbitrary incrementable type
|
||||||
template <class Incrementable>
|
template <class Incrementable>
|
||||||
inline typename counting_iterator_generator<Incrementable>::type
|
inline typename counting_iterator_generator<Incrementable>::type
|
||||||
counting_iterator(Incrementable x)
|
make_counting_iterator(Incrementable x)
|
||||||
{
|
{
|
||||||
return iterator_adaptor<Incrementable,
|
return iterator_adaptor<Incrementable,
|
||||||
counting_iterator_policies<Incrementable>,
|
counting_iterator_policies<Incrementable>,
|
||||||
|
Reference in New Issue
Block a user