pybind11/docs/advanced/cast
Wenzel Jakob 405f6d1dfd make arithmetic operators of enum_ optional (#508)
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.
2016-11-17 23:24:47 +01:00
..
chrono.rst a bit of work on the new documentation structure 2016-10-24 23:48:20 +02:00
custom.rst add note about custom type casters (fixes #480) 2016-11-04 11:06:22 +01:00
eigen.rst Reorganize documentation 2016-10-20 15:21:34 +02:00
functional.rst Reorganize documentation 2016-10-20 15:21:34 +02:00
index.rst a bit of work on the new documentation structure 2016-10-24 23:48:20 +02:00
overview.rst make arithmetic operators of enum_ optional (#508) 2016-11-17 23:24:47 +01:00
stl.rst Reorganize documentation 2016-10-20 15:21:34 +02:00