This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Template help,To Alexandre Oliva


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]