mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-12 17:26:13 +00:00
new move value policy
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
Value constructor: Creating a sequence with 5 entries
|
||||
s = <example.Sequence object at 0x1033bd8d0>
|
||||
s = <example.Sequence object at 0x10c786c70>
|
||||
len(s) = 5
|
||||
s[0], s[3] = 0.000000 0.000000
|
||||
12.34 in s: False
|
||||
12.34 in s: True
|
||||
s[0], s[3] = 12.340000 56.779999
|
||||
Value constructor: Creating a sequence with 5 entries
|
||||
Copy constructor: Creating a sequence with 5 entries
|
||||
Freeing a sequence with 5 entries
|
||||
Move constructor: Creating a sequence with 5 entries
|
||||
Freeing a sequence with 0 entries
|
||||
Value constructor: Creating a sequence with 5 entries
|
||||
rev[0], rev[1], rev[2], rev[3], rev[4] = 0.000000 56.779999 0.000000 0.000000 12.340000
|
||||
0.0 56.7799987793 0.0 0.0 12.3400001526
|
||||
|
||||
Reference in New Issue
Block a user