/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ template struct iterator_traits { typedef typename Iterator::pointer pointer; typedef typename Iterator::reference reference; pointer a; Iterator b; Iterator* c; }; #if 1 // template partial specialization, need to implement in CINT template struct iterator_traits { typedef T* pointer; typedef T& reference; pointer a; T b; T* c; }; #endif #if 1 template struct iterator_traits { typedef const T* pointer; typedef const T& reference; pointer a; const T b; const T* c; }; #endif class iter { public: typedef void* pointer ; typedef void* reference ; }; iterator_traits a1; iterator_traits b2; iterator_traits c3;