source:
downloads/boost_1_34_1/libs/python/test/operators_wrapper.py
@
30
| Last change on this file since 30 was 29, checked in by landauf, 17 years ago | |
|---|---|
| File size: 164 bytes | |
| Line | |
|---|---|
| 1 | from operators_wrapper_ext import * |
| 2 | |
| 3 | class D2(vector): pass |
| 4 | d2 = D2() |
| 5 | |
| 6 | for lhs in (v,d,d2): |
| 7 | -lhs |
| 8 | for rhs in (v,d,d2): |
| 9 | lhs + rhs |
| 10 | lhs += rhs |
| 11 |
Note: See TracBrowser
for help on using the repository browser.










