1 // Copyright David Abrahams 2004. Distributed under the Boost 2 // Software License, Version 1.0. (See accompanying 3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 4 5 #include <boost/python/class.hpp> 6 #include <boost/python/suite/indexing/map_indexing_suite.hpp> 7 int_map_indexing_suite()8void int_map_indexing_suite() 9 { 10 using namespace boost::python; 11 12 // Compile check only... 13 class_<std::map<int, int> >("IntMap") 14 .def(map_indexing_suite<std::map<int, int> >()) 15 ; 16 } 17