Policy Based Design Using C++ Typemaps
1.0.1
namespace typemap {
  namespace typemap_private {
  
    template 
    struct reverse_ {
      typedef item_ Item ;
      typedef typename reverse_::X X ;
    } ;
  
    template 
    struct reverse_ {
      typedef I X ;
    } ;
  }

  template 
  struct reverse {
    typedef typename typemap_private::reverse_::X X ;
  } ;
}

 
Copyright (C) 2005,2006,2013 Andre Mirzoyan