This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Template help,To Alexandre Oliva
- To: gcc at gcc dot gnu dot org
- Subject: Re: Template help,To Alexandre Oliva
- From: "Liu WS" <louispp at hotmail dot com>
- Date: Sat, 11 Nov 2000 09:26:55 GMT
you can find such c++ code in VC++.
in VC++ include directory,the code of file uility
1 // utility standard header
2
3 #if _MSC_VER > 1000
4 #pragma once
5 #endif
....
....
79 template<class _It>
80 struct iterator_traits {
81 typedef _It::iterator_category iterator_category;
82 typedef _It::value_type value_type;
83 typedef _It::distance_type distance_type;
84 };
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.