Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

libs/python/test/operators_wrapper.py

from operators_wrapper_ext import *

class D2(vector): pass
d2 = D2()

for lhs in (v,d,d2):
    -lhs
    for rhs in (v,d,d2):
        lhs + rhs
        lhs += rhs