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:
Sergey Lyskov
2016-05-07 18:50:26 -04:00
committed by Wenzel Jakob
parent eae7744c0e
commit a315c7a25a
4 changed files with 64 additions and 18 deletions

View File

@@ -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()