Template help,To Alexandre Oliva

Liu WS louispp@hotmail.com
Sat Nov 11 01:27:00 GMT 2000


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 .



More information about the Gcc mailing list