From 9e2b4380d5322e76ee7ba403b8fa1f6539faf4cd Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Tue, 4 May 2004 10:19:33 +0000 Subject: [PATCH] ADL bug-fix [SVN r22730] --- test/map_indexing_suite.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/map_indexing_suite.cpp b/test/map_indexing_suite.cpp index 757e1181..c52f359c 100644 --- a/test/map_indexing_suite.cpp +++ b/test/map_indexing_suite.cpp @@ -23,7 +23,7 @@ std::string x_value(X const& x) } BOOST_PYTHON_MODULE(map_indexing_suite_ext) -{ +{ class_("X") .def(init<>()) .def(init()) @@ -39,11 +39,16 @@ BOOST_PYTHON_MODULE(map_indexing_suite_ext) class_ >("XMap") .def(map_indexing_suite >()) ; - + // Compile check only... class_ >("IntMap") .def(map_indexing_suite >()) ; + + // Compile check only... + class_ > >("TestMap") + .def(map_indexing_suite > >()) + ; } #include "module_tail.cpp"