Policy Based Design Using C++ Typemaps
1.0.1
namespace typemap {
  template 
  struct insert {
    typedef typename typemap_private::insert_::X X ;
  } ;

  // specialization for empty container
  template 
  struct insert {
    typedef typename typemap_private::item_ X ;
  } ;
}
 
Copyright (C) 2005,2006,2013 Andre Mirzoyan