diff -ruNp win/iterator dos/iterator --- win/iterator 2007-07-08 20:45:34.000000000 +0000 +++ dos/iterator 2007-08-05 10:30:52.000000000 +0000 @@ -46,7 +46,7 @@ namespace std { typedef typename Iterator::value_type value_type; typedef typename Iterator::pointer pointer; typedef typename Iterator::reference reference; - typedef typename Iterator::iterator_catagory iterator_catagory; + typedef typename Iterator::iterator_category iterator_category; }; template< class Type > @@ -55,7 +55,7 @@ namespace std { typedef Type value_type; typedef Type *pointer; typedef Type &reference; - typedef random_access_iterator_tag iterator_catagory; + typedef random_access_iterator_tag iterator_category; }; template< class Type > @@ -64,13 +64,13 @@ namespace std { typedef const Type value_type; typedef const Type *pointer; typedef const Type &reference; - typedef random_access_iterator_tag iterator_catagory; + typedef random_access_iterator_tag iterator_category; }; // iterator // ******** - template< class Catagory, + template< class Category, class Type, class Distance = ptrdiff_t, class Pointer = Type*, @@ -80,7 +80,7 @@ namespace std { typedef Distance difference_type; typedef Pointer pointer; typedef Reference reference; - typedef Catagory iterator_catagory; + typedef Category iterator_category; }; // advance( Iterator &, Distance ) @@ -127,7 +127,7 @@ namespace std { void advance( InputIterator &it, Distance n ) { advance( - it, n, typename iterator_traits< InputIterator >::iterator_catagory( ) + it, n, typename iterator_traits< InputIterator >::iterator_category( ) ); } @@ -193,7 +193,7 @@ namespace std { distance( InputIterator first, InputIterator last ) { return( distance( - first, last, iterator_traits< InputIterator >::iterator_catagory( ) + first, last, iterator_traits< InputIterator >::iterator_category( ) ) ); } #endif