commit | a315c7a25afa55c62b7857d7d92be6402d4823f1 | [log] [tgz] |
---|---|---|
author | Sergey Lyskov <sergey.lyskov@jhu.edu> | Sat May 07 18:50:26 2016 -0400 |
committer | Wenzel Jakob <wenzel.jakob@epfl.ch> | Sun May 15 20:46:07 2016 +0200 |
tree | 191e1e3892ddad08c1685a42525eaaef4b5f9bfb | |
parent | eae7744c0e143b6866b9239f85531decd07d4705 [diff] [blame] |
Adding Python-style modifiers for vector. Wrapping has_insertion_operator_implementation in _MSC_VER ifdef’s. Adding ‘!=0’ instead of bool cast’s.
diff --git a/example/example17.py b/example/example17.py index 5385280..d41a325 100644 --- a/example/example17.py +++ b/example/example17.py
@@ -16,6 +16,9 @@ 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()