Topic: 24.2, missing iterator_traits<T const*>
Author: markus.mauhart@nospamm.chello.at ("Markus Mauhart")
Date: Fri, 15 Nov 2002 20:01:35 +0000 (UTC) Raw View
IMHO [lib.iterator.synopsis] 24.2 is missing ..
template<class T> struct iterator_traits<T const*>;
It only contains ..
template<class T> struct iterator_traits<T*>;
[lib.iterator.traits] 24.3.1 then defines both
specializations (differently):
template<class T> struct iterator_traits<T*> {..};
template<class T> struct iterator_traits<T const*> {..};
Regards,
Markus.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]