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-04-26 23:48:55 +02:00
2016-10-20 15:21:34 +02:00
2016-09-06 13:02:29 +09:00
2016-11-16 17:37:10 +01:00
2016-10-20 15:21:34 +02:00
2016-09-21 19:30:23 +02:00
2016-09-19 13:45:31 +02:00
2015-10-13 03:16:44 +02:00
2016-10-20 15:21:34 +02:00