mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-14 09:34:46 +00:00
405f6d1dfd
Following commit 90d278, the object code generated by the python bindings of nanogui (github.com/wjakob/nanogui) went up by a whopping 12%. It turns out that that project has quite a few enums where we don't really care about arithmetic operators. This commit thus partially reverts the effects of #503 by introducing an additional attribute py::arithmetic() that must be specified if the arithmetic operators are desired. |
||
---|---|---|
.. | ||
chrono.rst | ||
custom.rst | ||
eigen.rst | ||
functional.rst | ||
index.rst | ||
overview.rst | ||
stl.rst |