pybind11/docs/advanced
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
..
cast make arithmetic operators of enum_ optional (#508) 2016-11-17 23:24:47 +01:00
pycpp Reorganize documentation 2016-10-20 15:21:34 +02:00
classes.rst Reorganize documentation 2016-10-20 15:21:34 +02:00
exceptions.rst Reorganize documentation 2016-10-20 15:21:34 +02:00
functions.rst Make reference(_internal) the default return value policy for properties (#473) 2016-11-01 11:44:57 +01:00
misc.rst Provide more control over automatic generation of docstrings (#486) 2016-11-15 12:38:05 +01:00
smart_ptrs.rst Support std::shared_ptr holder type out of the box 2016-10-20 16:19:58 +02:00