]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/test/int_map_indexing_suite.cpp
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)
5 #include <boost/python/class.hpp>
6 #include <boost/python/suite/indexing/map_indexing_suite.hpp>
8 void int_map_indexing_suite()
10 using namespace boost::python
;
12 // Compile check only...
13 class_
<std::map
<int, int> >("IntMap")
14 .def(map_indexing_suite
<std::map
<int, int> >())