#171: Can't return reference wrappers (or STL structures containing them)
()
| 373 | |
| 374 | |
| 375 | def test_vec_of_reference_wrapper(): |
| 376 | """#171: Can't return reference wrappers (or STL structures containing them)""" |
| 377 | assert ( |
| 378 | str(m.return_vec_of_reference_wrapper(UserType(4))) |
| 379 | == "[UserType(1), UserType(2), UserType(3), UserType(4)]" |
| 380 | ) |
| 381 | |
| 382 | |
| 383 | def test_stl_pass_by_pointer(msg): |