• Patrick Stewart's avatar
    Add the buffer interface for wrapped STL vectors · 54679795
    Patrick Stewart authored
    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
    54679795
test_stl_binders.cpp 3.69 KB