We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83719a6 commit c0ecde9Copy full SHA for c0ecde9
1 file changed
test/m1.cpp
@@ -187,9 +187,9 @@ struct D : B, C
187
};
188
189
A take_a(A const& a) { return a; }
190
-B take_b(B const& b) { return b; }
191
-C take_c(C const& c) { return c; }
192
-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; }
193
194
BOOST_PYTHON_MODULE_INIT(m1)
195
{
0 commit comments