2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 06:22:15 +00:00

Test a few different lvalue conversions

[SVN r14411]
This commit is contained in:
Dave Abrahams
2002-07-11 21:03:30 +00:00
parent 83719a6f48
commit c0ecde90bc

View File

@@ -187,9 +187,9 @@ struct D : B, C
};
A take_a(A const& a) { return a; }
B take_b(B const& b) { return b; }
C take_c(C const& c) { return c; }
D take_d(D const& d) { return d; }
B take_b(B& b) { return b; }
C take_c(C* c) { return *c; }
D take_d(D* const& d) { return *d; }
BOOST_PYTHON_MODULE_INIT(m1)
{