mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 01:36:21 +00:00
Adding Python-style modifiers for vector. Wrapping has_insertion_operator_implementation in _MSC_VER ifdef’s. Adding ‘!=0’ instead of bool cast’s.
This commit is contained in:
committed by
Wenzel Jakob
parent
eae7744c0e
commit
a315c7a25a
@@ -16,6 +16,9 @@ print( v_int != v_int2 )
|
||||
|
||||
v_int2.push_back(2)
|
||||
v_int2.push_back(3)
|
||||
v_int2.insert(0, 1)
|
||||
v_int2.insert(0, 2)
|
||||
v_int2.insert(0, 3)
|
||||
print(v_int2)
|
||||
|
||||
v_a = VectorA()
|
||||
|
||||
Reference in New Issue
Block a user