From 2a6060e42595f408f916981b4db0c4484d97e21c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 26 Mar 2002 17:41:06 +0000 Subject: [PATCH] Cleanup [SVN r13283] --- test/implicit.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/test/implicit.cpp b/test/implicit.cpp index 2b017fb4..50479158 100644 --- a/test/implicit.cpp +++ b/test/implicit.cpp @@ -8,13 +8,9 @@ #include #include "test_class.hpp" -// This test shows that a class can be wrapped "as itself" but also -// acquire a back-reference iff has_back_reference<> is appropriately -// specialized. using namespace boost::python; typedef test_class<> X; -typedef test_class<1> Y; int x_value(X const& x) { @@ -35,12 +31,6 @@ BOOST_PYTHON_MODULE_INIT(implicit_ext) .def("value", &X::value) .def("set", &X::set) ) - .add( - class_("Y") - .def_init(args()) - .def("value", &Y::value) - .def("set", &Y::set) - ) ; implicitly_convertible(); }