test_stl_binders.cpp
3.69 KB
-
Add the buffer interface for wrapped STL vectors · 54679795
Allows use of vectors as python buffers, so for example they can be adopted without a copy by numpy.asarray Allows faster conversion of buffers to vectors by copying instead of individually casting the elements
Patrick Stewart committed