diff --git a/src/blackmisc/iterator.h b/src/blackmisc/iterator.h index aa7a46fac..14c47b1cd 100644 --- a/src/blackmisc/iterator.h +++ b/src/blackmisc/iterator.h @@ -148,7 +148,7 @@ namespace BlackMisc * By creating a CRange from such iterators, it is possible to perform a transformation on a container without copying elements. */ template class TransformIterator - : public std::iterator()(std::declval::value_type>()))>> { public: @@ -213,7 +213,7 @@ namespace BlackMisc * * By creating a CRange from such iterators, it is possible to return the results of predicate methods without copying elements. */ - template class ConditionalIterator : public std::iterator::value_type> + template class ConditionalIterator : public std::iterator::value_type> { public: //! Constructor. @@ -277,7 +277,7 @@ namespace BlackMisc /*! * Iterator wrapper which concatenates zero or more pairs of begin and end iterators. */ - template class ConcatIterator : public std::iterator::value_type> + template class ConcatIterator : public std::iterator::value_type> { public: //! Constructor.