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
..
2016-09-06 13:02:29 +09:00
2016-08-19 13:19:38 +02:00
2016-09-06 13:02:29 +09:00
2016-11-16 17:28:11 +01:00
2016-08-19 13:19:38 +02:00
2016-10-11 22:13:02 +02:00