Skip to content

Commit c0ecde9

Browse files
committed
Test a few different lvalue conversions
[SVN r14411]
1 parent 83719a6 commit c0ecde9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/m1.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,9 @@ struct D : B, C
187187
};
188188

189189
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; }
190+
B take_b(B& b) { return b; }
191+
C take_c(C* c) { return *c; }
192+
D take_d(D* const& d) { return *d; }
193193

194194
BOOST_PYTHON_MODULE_INIT(m1)
195195
{

0 commit comments

Comments
 (0)